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.
↧
Re: SMTP Error
↧
From: | Kayode |
To: | Bob Roenigk |
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.
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?
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.
~bob
+++ 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?