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. 18, 2013
03:20 am
3RJ075XG9Show this entire thread in new window
Gratar Image based on email address
From:Kayode
To:Bob Roenigk
Please help. I am still waiting......


If I understand you correctly, the code you originally posted is being run on a server at your web hosting company. And that code is failing. Since they are not blocking port 25, then you must have another problem. The error message 'connection to host lost' indicates you successfully connected.

Having ruled that out, you should be able to trap an error code when your code attempts to send the mail via SMTP.

~bob


Bob, I got a message 'connection to host lost' after executing the telnet command for a while.

But, let me provide some clarifications. The smtp.wisetreeconsult.com is on my web host server while my internet connectivity is provided by another ISP. Earlier on today, I spoke with the guys at the web hosting company. They confirmed to me that port 25 is open on their server. So that leaves me with the ISP. Is there a role for the ISP here? Could the port 25 be blocked by an ISP?



Depending on the O/S version, you may need to activate Telnet. It is not active by default on Win7, but is on XP. Google how to install it if necessary. Once you can launch telnet from your command prompt, type the following:

OPEN smtp.wisetreeconsult.com 25

If your ISP is blocking port 25, you will get a "Cannot open... " error.

~bob

Please, what command do I need to issue in order to open connection to smtp.wisetreeconsult.com using telnet. Please help me with the command.



One possibility to exclude is that your ISP has not filtered port 25. A very common practice. Use telnet to open a connection to smtp.wisetreeconsult.com to confirm all is good.

~bob


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