↧
Re: SMTP Error
↧
From: | Kayode |
To: | Rick Strahl |
+++ Rick ---
I purchased this tool today 16th April 2013. I ran the following codes from my VFP application but an SMTP Error after program would have executed for a while. I have copied all the DLLs, PRGs and VCXs needed into the application path.
************************************************
local losmtp as wwsmtp
losmtp=createobject("wwSmtp",2)
losmtp.cmailserver="smtp.wisetreeconsult.com"
losmtp.csenderemail="kayode.adeniyi@wisetreeconsult.com"
losmtp.csendername="Kayode Adeniyi"
losmtp.cusername = "kayode.adeniyi@wisetreeconsult.com"
losmtp.cpassword = "*******"
losmtp.crecipient="kayode_adeniyi@yahoo.com, wisetreeconsult@gmail.com"
losmtp.csubject="wwSmtp Test Message"
losmtp.cmessage="Who said this had to be difficult?"
losmtp.ccontenttype = "text/html" && Optionally send HTML content
llresult = losmtp.SendMail()
if !llresult
wait window losmtp.cerrormsg
endif
**************************************************************
Please what do I need to do? What could be wrong?