Re: Semd mail using gmail SMTP server - WeOnlyDo Discussion board

Re: Semd mail using gmail SMTP server (General questions)

by JohnW, Monday, June 01, 2009, 12:02 (5667 days ago) @ woddrazen

Hi John,


Can you please try something like this for sending email using Gmail SMTP server
[code]wodSmtp1.Security = SecurityImplicit
wodSmtp1.Authentication = AuthLogin
wodSmtp1.Login = someone@gmail.com
wodSmtp1.Password = somepass
wodSmtp1.Hostname = smtp.gmail.com
wodSmtp1.Port = 465

wodSmtp1.SendSimple someone@gmail.com , to@gmail.com , test , testing [/code]
Let us know how it goes.


Regards,
Drazen

Hi Drazen,

Before I was placing the properties directly into the wodsmtp1 component in Delphi's object inspector.
I then tried doing it via lines of code - and that worked! Thanks very much for your really prompt reply.

Regards,

John.[:smile:]


Complete thread: