For at least two years (or more) the following code has been running with no problems.
Now it runs, but nothing ever shows up on the target end.
I have transported the code to three different platforms... same results.. no email on the target.
CDO2000 does not return any error codes.... I am at a loss.
loMail = NEWOBJECT("CdO2000", "CdO2000.fxp")
WITH loMail
.cServer = "smtp.gmail.com"
.nServerPort = 465
.lUseSSL = .T.
.nAuthenticate = 1 && cdoBasic
.cUserName = "xyz@gmail.com"
.cPassword = "gh1234"
.cFrom = "Frank"
.cTo = "coljones@abc.net"
.cSubject = "tester"
.cTextBody = "Attached "
* Attachments are optional
ENDWITH
Now it runs, but nothing ever shows up on the target end.
I have transported the code to three different platforms... same results.. no email on the target.
CDO2000 does not return any error codes.... I am at a loss.
loMail = NEWOBJECT("CdO2000", "CdO2000.fxp")
WITH loMail
.cServer = "smtp.gmail.com"
.nServerPort = 465
.lUseSSL = .T.
.nAuthenticate = 1 && cdoBasic
.cUserName = "xyz@gmail.com"
.cPassword = "gh1234"
.cFrom = "Frank"
.cTo = "coljones@abc.net"
.cSubject = "tester"
.cTextBody = "Attached "
* Attachments are optional
ENDWITH