I want to send emails by using West Wind Internet and client tools made by Rick Strahl.
I have an account on SMTP2GO.com
Here is what I'm trying and it doesn't work.
DO wwSmtp && load libraries
LOCAL loSMTP as wwSmtp
loSmtp=CREATEOBJECT("wwSmtp")
loSmtp.nMailMode = 0 && 0 - .NET wwSmtp (defult), 2 - classic wwIPStuff mode (no-SSL)
loSmtp.cMailServer="mail.smtp2go.com:465"
loSmtp.cSenderEmail="Here I put my email address"
loSmtp.cSenderName="Denis"
loSmtp.cUsername = "Here I put my email address with SMTP2GO"
loSmtp.cPassword = "Here I put the password that goes with my cUserName"
loSmtp.lUseSsl = .T.
loSmtp.cRecipient="email address of the person receiving that email"
loSmtp.cSubject="Bonne journée!"
loSmtp.cContentType = "text/html"
loSmtp.cMessage="Contenu avec des accents comme é et à"
llResult = loSmtp.SendMail()
IF !llResult
Wait window loSmtp.cErrorMsg
ENDIF
After a couple of seconds I receive this message
loSmtp.cErrorMsg = waiting delay of the operation has expired
I tried with nMailMode = 2. Result was worst. Endless loop.
Anyone has a clue?
*******************************************************
Save a tree, eat a beaver.
Denis Chassé