CDONTS will only send mail with the Microsoft SMTP service not with Imail's SMTP service. There is an article in the KB on how to set this up. Here is the link.
http://support.ipswitch.com/kb/IM-19990809-DM01.htm
You need to set the Microsoft SMTP port to something other than 25.
Chuck Schick Warp 8, Inc. www.warp8.com 303-421-5140
----- Original Message ----- From: "Shane Greer" <shane@gxs.net> To: "IMail Newsgroup" <imail_forum@list.ipswitch.com> Sent: Thursday, March 29, 2001 3:29 PM Subject: [IMail Forum] Sending email programmatically
: Imail version 6.04 : : We're having problems sending emails through script code. The code worked : fine in the past, but people were using our servers to spam, so we changed : to the "No Relay" setting. Now, we can't use script to send messages and : none of our ASP pages will send emails. We swapped back to "Relay for all", : but it didn't help. Not sure if this has anything to do with relay or not. : We are using "jmail" and "CDONTS" to send email via script. I tried the : scripts on my local machine, which does not use IMail and they worked fine. : I uploaded them to our server and they don't work. But, I can send email : through the IMail client interface. Any ideas why the script email method : has stopped working all of a sudden? Any help would be much appreciated. : : -Shane : : : : : : : :