PC Review


Reply
Thread Tools Rate Thread

(0x80040213): The transport failed to connect to the server

 
 
Vittorio Pavesi
Guest
Posts: n/a
 
      1st Oct 2003
Hi All,
sometimes (1 e-mail sent every 80) I got the following error:
System.Runtime.InteropServices.COMException (0x80040213): The transport
failed to connect to the server
What does it mean ?
Regards

Vittorio



This is the code:

Const cdoSendUsingMethod =
"http://schemas.microsoft.com/cdo/configuration/sendusing"
Const cdoSendUsingPort = 2
Const cdoSMTPServer =
"http://schemas.microsoft.com/cdo/configuration/smtpserver"
Const cdoSMTPConnectionTimeout =
"http://schemas.microsoft.com/cdo/configuration/smtpConnectionTimeout"
iMsg = CreateObject("CDO.Message")
iConf = CreateObject("CDO.Configuration")
Flds = iConf.Fields
Flds(cdoSendUsingMethod) = cdoSendUsingPort
Flds(cdoSMTPServer) = NotificationSMTP
Flds(cdoSMTPConnectionTimeout) = 15

Flds.Update()
With iMsg
..Configuration = iConf
..To = NotificationReceiver
..From = "Health Monitor"
..Sender = NotificationSender
..Subject = "Health Monitor - Notification"
..TextBody = MessageString
..Send()
End With


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
0x80040213 The Transport failed to connect to the server-Random Er =?Utf-8?B?bmJpc3NldHRl?= Microsoft ASP .NET 0 19th Mar 2006 12:47 AM
Failed to Connect to Transport Server =?Utf-8?B?TWFyeQ==?= Microsoft Dot NET 0 10th Mar 2006 05:11 PM
The transport failed to connect to the server safs Microsoft Outlook Contacts 1 28th Dec 2005 12:39 PM
Transport Failed to connect to the Server. Sudhan Microsoft ASP .NET 1 20th Dec 2005 09:22 AM
The transport failed to connect to the server =?Utf-8?B?UGF1bA==?= Microsoft Dot NET Framework Forms 3 9th Nov 2004 04:48 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:38 AM.