Forums
This topic is locked
Email with CDONTS on local test server
09 Feb 2003 18:25:43 Alan Chua posted:
Posting this topic out of my frustration.I have been trying to send out emails from my local test server using CDONTS, but always to no avail, I am pretty sure that the smtp service for IIS 5 (Windows 2000) is set up correctly. The problem is that the email seems to have sent out successfully on the background, no error message from IIS at all, but when checking on the smtp root folder, the mail is always stuck in the queue mail folder and after several tries, the mail is sent to the bad mail folder. When the script is uploaded on the remote server i.e the hosting company, everything runs fine. The reason why I need this to work is because we have a web-based application in the office and the user need to send email directly from the web form to the customer. Internet connection is always available. Port is set to 25.
Can anyone enlighten me on the problem? Could the ISP company been bloacking the port 25? What other alternative can I used?
Any help is appreciated.
Thanks in advance.
Regards,
lonetree
Replies
Replied 09 Feb 2003 19:07:11
09 Feb 2003 19:07:11 asp asp replied:
Did you make sure the service is not stoped?? in your IIS control panel??
Replied 10 Feb 2003 00:25:54
10 Feb 2003 00:25:54 Dave Clarke replied:
Is the remote host on the same ISP as your internet connection?
When i test locally i set server name to my normal isp mail server and when i upload it to remote server i have to change it to the hosts mail server.
Dave
ASP|VBScript|IIS5.1|Access|WinXPPro & WinXPHome
When i test locally i set server name to my normal isp mail server and when i upload it to remote server i have to change it to the hosts mail server.
Dave
ASP|VBScript|IIS5.1|Access|WinXPPro & WinXPHome
Replied 10 Feb 2003 12:05:50
10 Feb 2003 12:05:50 Alan Chua replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Is the remote host on the same ISP as your internet connection?
When i test locally i set server name to my normal isp mail server and when i upload it to remote server i have to change it to the hosts mail server.
Dave
ASP|VBScript|IIS5.1|Access|WinXPPro & WinXPHome
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Is the remote host on the same ISP as your internet connection?
When i test locally i set server name to my normal isp mail server and when i upload it to remote server i have to change it to the hosts mail server.
Dave
ASP|VBScript|IIS5.1|Access|WinXPPro & WinXPHome
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Replied 10 Feb 2003 17:21:09
10 Feb 2003 17:21:09 Stefan P replied:
I've been trying to resolve this one myself... for months! I work on a corporate intranet and need to use CDONTS for staff to be able to mail info through a simple web form.
All my research lead me to believe that you need to relay the messages to an Exchange server in order for it to be mailed?!? When using the SMPT service in IIS5 I also had messages in the queue mail folder.
Would also appreciate any advice on this one...
DMX | ASP | VBScript | ACCESS | IIS5
All my research lead me to believe that you need to relay the messages to an Exchange server in order for it to be mailed?!? When using the SMPT service in IIS5 I also had messages in the queue mail folder.
Would also appreciate any advice on this one...
DMX | ASP | VBScript | ACCESS | IIS5
Replied 10 Feb 2003 19:05:45
10 Feb 2003 19:05:45 Alan Chua replied:
I have seen emails being sent using CDONTS without the presence of an exchange server. Just can't understand why it won't work.