[DUG] Delphi to Email

Stefan Mueller muellers at orcl-toolbox.com
Mon May 29 17:51:16 NZST 2017


Did you had a look at the Gmail Web API ?
https://developers.google.com/gmail/api/ ... that way you can send emails
and keep them for reference in the sent-folder (which is exactly what you
want, as I understand). 

There are some various examples how to use the API .. mostly in java/python
.. but once you have the WDSL imported into Delphi (under the Components
menu point) it should be easy to translate the example code into Delphi and
get going. 

Stefan 
ORCL Toolbox Ltd


-----Original Message-----
From: delphi-bounces at listserver.123.net.nz
[mailto:delphi-bounces at listserver.123.net.nz] On Behalf Of Nigel Cross
Sent: Monday, 29 May 2017 3:53 p.m.
To: 'NZ Borland Developers Group - Delphi List'
Subject: Re: [DUG] Delphi to Email

Your main options are to use SMTP controls like Indy to send directly to a
mail server, or use Outlook automation (or Extended MAPI) to send via
Outlook.

If you need an SMTP service for the actual sending, Amazon SES is very cheap
for high volumes, or Gmail business account for up to 2,000 per day.

Best regards

Nigel Cross
Xequte Software
nigel at xequte.com
www.xequte.com 


> -----Original Message-----
> From: delphi-bounces at listserver.123.net.nz [mailto:delphi- 
> bounces at listserver.123.net.nz] On Behalf Of Marshland Engineering
> Sent: Tuesday, 23 May 2017 12:24 p.m.
> To: delphi at listserver.123.net.nz
> Subject: [DUG] Delphi to Email
> 
> I have been using Delphi and Outlook Express to do the club emails.
> ShellExecute(fMain.Handle,'open',PChar(sParam),nil,nil,SW_SHOWNORMAL
> );
> 
> Alas after XP OE is gone so I'm looking for another way to do this.
> I did like the local installation of OE as I alway had a copy of my 
> sent
emails for
> reference.
> 
> Any suggestions on a newer simple local program that can do the same ?
> If not, suggestions on how to use a gmail account with 500 or so email 
> addresses.
> 
> I have had a few searches but nothing much has struck me.
> 
> Here is a link to the current program.
> 
> https://vimeo.com/217814324
> 
> Cheers Wallace
> 
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi at listserver.123.net.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-request at listserver.123.net.nz 
> with
> Subject: unsubscribe


_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi at listserver.123.net.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-request at listserver.123.net.nz with
Subject: unsubscribe




More information about the Delphi mailing list