Send mail using GMail SMTP server - WeOnlyDo Discussion board

Send mail using GMail SMTP server (wodSmtp)

by Gerard Llort, Thursday, June 22, 2006, 16:33 (6608 days ago)

Hello,

How I can send an email using Google GMail SMTP server?

Thanks

Re: Send mail using GMail SMTP server

by woddrazen, Thursday, June 22, 2006, 16:49 (6608 days ago) @ Gerard Llort

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

by Gerard Llort, Thursday, June 22, 2006, 17:06 (6607 days ago) @ woddrazen

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

by Gerard Llort, Thursday, June 22, 2006, 17:07 (6607 days ago) @ Gerard Llort

Thank you for your quick response!!!

regards,

Gerard Llort
OffshoreTech.net
Barcelona (Spain)

Re: Send mail using GMail SMTP server

by AC, Friday, February 06, 2009, 19:04 (5647 days ago) @ Gerard Llort

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

by AC, Friday, February 06, 2009, 19:07 (5647 days ago) @ AC

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

by woddrazen, Friday, February 06, 2009, 19:25 (5647 days ago) @ AC

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