Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have an email script in asp that worked fine, but now I moved to my own windows server 2008 and can not seem to put it to work. It always gives this error:

CDO.Message.1 error '80040213'
The transport failed to connect to the server. 

This is not script error because the same page in other host works fine. It must be the server configuration. Any suggestions?

I am using:

  • windows server 2008
  • IIS 7,5
share|improve this question
add comment

1 Answer

First of all what is the script using to send emails?

SMTP or E-Mail library used by .NET (like Sendmail used in PHP)

From the sound of the error message there is no SMTP available on the server. Sometimes new installs do not have this installed at all and require Exhange or SMTP modules installed.

enter image description here

enter image description here

share|improve this answer
    
Im using cdo with asp classic and like i said it works fine in another server, is there any way i can get a step by step to see if anything missing in config server? i set permissions for door 25 and 587 and set the smtp email in iis. –  razstec May 11 '12 at 12:40
    
Look inside the error log of windows event viewer, there will be a detailed description.. if there is no log there then find SMTP settings and inside the properties there is a Logging Level. Set the most detailed, run the script again. Check event viewer. –  ppumkin May 11 '12 at 13:44
    
cant seem to see nothing here: 2012-05-11 10:02:17 192.164.1.200 - 192.164.1.75 21 ControlChannelOpened - - 0 0 1dd12bc5-36a5-405f-a806-510b700d4148 - 2012-05-11 10:02:49 192.164.1.200 - 192.164.1.75 21 USER ftp_u 530 11001 37 1dd12bc5-36a5-405f-a806-510b700d4148 - 2012-05-11 10:03:16 192.164.1.200 - 192.164.1.75 21 ControlChannelClosed - - 64 0 1dd12bc5-36a5-405f-a806-510b700d4148 - –  razstec May 11 '12 at 13:48
    
what level is logging set to? put it higher- Besisdes that is not the event log- its the SMTP log. –  ppumkin May 11 '12 at 13:50
    
i just notice that even tho i instaled smtp server i dont have that option in iis, only have smtp email in asp.net group –  razstec May 11 '12 at 14:14
show 8 more comments

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.