Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: SMTP Error

$
0
0
Re: SMTP Error
West Wind Client Tools
Re: SMTP Error
Apr. 17, 2013
03:07 pm
3RI0WFN8JShow this entire thread in new window
Gratar Image based on email address
From:Kayode
To:Kayode

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?









Viewing all articles
Browse latest Browse all 10393

Trending Articles