Send email via gmail.com (wodSmtp)
Hi
Do you have an example how to connect and send email using smtp.gmail.com?
Hi
Do you have an example how to connect and send email using smtp.gmail.com?
Hi Jeff.
Sending email using gmail is pretty straightforward - try something like this:
[code] wodSmtp1.Hostname = "smtp.gmail.com"
wodSmtp1.Login = "your_gmail_login"
wodSmtp1.Password = "your_gmail_password"
wodSmtp1.Authentication = AuthLogin
wodSmtp1.Security = SecurityImplicit
wodSmtp1.Blocking = True
wodSmtp1.CreateTextHtml "someone@gmail.com", "some@other.email.com", "This is a test", "", "<HTML>this is a test</HTML>"
wodSmtp1.SendMessage
[/code]
Hope this helps!
Jasmine