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. 21, 2013
05:11 pm
3RM10URK3Show this entire thread in new window
Gratar Image based on email address
From:Kayode
To:Rick Strahl
Dear Rick,

Many thanks for your help. This problem had been resolved by my ISP by unblocking port 25.

Best Regards.


Like I said - show us the code you want to use.

The sample may not work because of blockage of the firewall or for a number of other reasons. That's why you should set up a code sample and run that - that way you can see the information you need to see, specifically the error info and we can see what data you're actually poking into the component.

+++ Rick ---



It's not my code. It's the code on the form smtp that came as sample with the purchase of West Wind Client Tools.

Please post your code...

+++ Rick ---



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.


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