Send mail using GMail SMTP server (wodSmtp)
Hello,
How I can send an email using Google GMail SMTP server?
Thanks
Re: Send mail using GMail SMTP server
Hi Gerard,
You can send e-mail with wodSMTP from Gmil SMTp server on this way:
--------------------------------------------
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 , john@gmail.com , test , testing
--------------------------------------------
Hope this helps.
Regards,
Drazen
Re: Send mail using GMail SMTP server
Hi Gerard,
You can send e-mail with wodSMTP from Gmil SMTp server on this way:
--------------------------------------------
wodSmtp1.Security = SecurityImplicit
wodSmtp1.Authentication = AuthLogin
wodSmtp1.Login = someone@gmail.com
wodSmtp1.Password = somepass
wodSmtp1.Hostname = smtp.gmail.com
wodSmtp1.Port = 465wodSmtp1.SendSimple someone@gmail.com , john@gmail.com , test , testing
--------------------------------------------Hope this helps.
Regards,
Drazen
Re: Send mail using GMail SMTP server
Thank you for your quick response!!!
regards,
Gerard Llort
OffshoreTech.net
Barcelona (Spain)
Re: Send mail using GMail SMTP server
Hi Gerard,
You can send e-mail with wodSMTP from Gmil SMTp server on this way:
--------------------------------------------
wodSmtp1.Security = SecurityImplicit
wodSmtp1.Authentication = AuthLogin
wodSmtp1.Login = someone@gmail.com
wodSmtp1.Password = somepass
wodSmtp1.Hostname = smtp.gmail.com
wodSmtp1.Port = 465wodSmtp1.SendSimple someone@gmail.com , john@gmail.com , test , testing
--------------------------------------------Hope this helps.
Regards,
Drazen
Re: Send mail using GMail SMTP server
Is it still possible to send mail through GMail? I tried using the example listed above and this is the result:
State changed to Connecting to the server.
Connecting to smtp.google.com
State changed to Not connected.
DISCONNECTED The current connection has timeout.
State changed to Disconnected, will retry.
I need to be able to send mail ussing SSL and TLS was testing with Google to see if it works.
Also has anyone tried sending mail through Sympatico.ca? (major Canadian ISP)
Re: Send mail using GMail SMTP server
Hi,
I have just tried and it worked for me without any issue.
As you can see in wodSmtp code SSL security is used in Security Property.
Please make sure that instead ( at ) and ( point ) you are using at (monkey) and point character when you are using email address in wodSmtp code.
If problem persist can you please try to send email with Gmail using some other email client like Outlook?
You can find here how to setup Outlook and Gmail:
https://mail.google.com/support/bin/answer.py?answer=75291
Let us know how it goes.
Regards,
Drazen