On the sample SMTP form that accompanied the West Wind Client Tools, I also observed that the smtp did not trap any error message although it was unable to send the mail.
On the sample SMTP form, I observe you have USERNAME, PASSWORD, SENDER and EMAIL. Please could you explain what goes into each of these fields.
The wwSmtp error message is blank. I trapped it with the following codes:
if !llresult
MessageBox(losmtp.cErrorMsg,48,"SMTP Error")
endif
What is the error from wwSmtp? Look at the cErrorMsg property.
+++ Rick ---
My mail is not just going through. What other settings or setups could bring about this.
What's the error?
+++ 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?
![]()