Print Page | Close Window

CDO Error - Help Please

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=16325
Printed Date: 13 April 2026 at 9:53pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: CDO Error - Help Please
Posted By: nemesis
Subject: CDO Error - Help Please
Date Posted: 25 August 2005 at 7:54am
 

CDO.Message.1 error '80040213'

The transport failed to connect to the server.

I get this error when i submit my registration. My web host is running wk3server.
 
What does this error code mean and does anyone know the steps to take to fix the problem.
 
ThanksConfused
 



Replies:
Posted By: WebWiz-Bruce
Date Posted: 25 August 2005 at 10:53am
This means that the email component can not connect to the SMTP server.

Check the settings for email in the admin section.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: nemesis
Date Posted: 25 August 2005 at 1:35pm
thanks for reply boRg
 
In adminn area - under email configuration " cdosys chosen for mailcomponent "
 
the host smtp is mail.cyberperk.co.za
 
thing is - when I disconnect all mail functionality - all works great
 
this then means that obviously there is some error with the webhost smtpserver - not sure what, since I am not familiar with win2003server
 
my host is quite new to it since they upgraded it last week.
 
Is there some settings on his server that he can set right?
please suggest some steps to take to correct this problem.
 
thanksConfused


Posted By: dpyers
Date Posted: 25 August 2005 at 9:21pm
Does your mail server require authentication?

-------------

Lead me not into temptation... I know the short cut, follow me.


Posted By: nemesis
Date Posted: 29 August 2005 at 3:49am
Problem is that my webhost's mail server was a unix server and the webserver is win2003server. So we working on him to install smtp server for his win2003 server.
 
Will keep u updated on how we solved the challenge.
 
Tongue
 


Posted By: dpyers
Date Posted: 29 August 2005 at 7:26am
that shouldn't matter, I use both unix and localhost windows smtp servers, you just need to properly set up the mail server in the admin section and change the send_mail.asp to include any authentication (user.password) that may be required by the remote server.

-------------

Lead me not into temptation... I know the short cut, follow me.


Posted By: wolfman
Date Posted: 02 September 2005 at 11:58am
Originally posted by dpyers dpyers wrote:

that shouldn't matter, I use both unix and localhost windows smtp servers, you just need to properly set up the mail server in the admin section and change the send_mail.asp to include any authentication (user.password) that may be required by the remote server.
 
dpyers - I too have the same issue and my SMTP server does require authentication.  I am trying to use ASPEmail... Can you please tell me what code I need to place into the functions_send_mail.asp please?  I currently have this code pasted.
 
'AspEmail component
  Case "AspEmail"
   'Create the e-mail server object
   Set objAspEmail = Server.CreateObject("Persits.MailSender")
   With objAspEmail
    'Out going SMTP mail server address
    .Host = strOutgoingMailServer
    'Who the e-mail is from
    .From = strFromEmailAddress
    .FromName = strFromEmailName
    'Who the e-mail is sent to
    .AddAddress strRecipientEmailAddress
    'The subject of the e-mail
    .Subject = strSubject
    'Set the e-mail body format (BodyHTML=HTML Body=Text)
    If blnHTML = True Then
     .IsHTML = True
    End If
    'The main body of the e-mail
    .Body = strEmailBodyMessage & strEmailBodyAppendMessage
    'Send the e-mail
    If NOT strOutgoingMailServer = "" Then .Send
   End With
   'Close the server mail object
   Set objAspEmail = Nothing
 
 
Thanks - WOLF
 


Posted By: dpyers
Date Posted: 03 September 2005 at 10:56am
Details are at http://www.aspemail.com/manual_05.html - http://www.aspemail.com/manual_05.html

But basically, for AspEmail you have to add
.Username = "xxxx"
.Password = "yyyy"

Usename may be formatted differently depending upon how the mail server is set up usually it's "me@example.com" but it might be just "me"



-------------

Lead me not into temptation... I know the short cut, follow me.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net