473,626 Members | 3,285 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

CDO Mail sending error


Hello,

Im getting the following error when mail is sent from ASP.NET 2.0 website.
CDO.Messaging componenet is used for sending mail.

"
The message was not able to be transmitted to the SMTP server. The
forwarding error code is 0x800ccc67. The response from the server is as
follows. 421 [XMail 0.70 (Win32/Ix86) SMTP Server] service not available,
closing transmission channel
"

Any suggestions/help would be appreciated.

Thanks,

Ibrahim.

Jul 26 '06 #1
3 1852
re:
forwarding error code is 0x800ccc67. The response from the server is as
follows. 421 [XMail 0.70 (Win32/Ix86) SMTP Server] service not available,
That means that the SMTP server is not available.
Check to see if it's running and if the port is available.

Why are you using system.web.mail , instead of the 2.0-native system.net.mail ?


Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
=============== =============== =====
"Ibrahim." <Ib*****@discus sions.microsoft .comwrote in message
news:A9******** *************** ***********@mic rosoft.com...
>
Hello,

Im getting the following error when mail is sent from ASP.NET 2.0 website.
CDO.Messaging componenet is used for sending mail.

"
The message was not able to be transmitted to the SMTP server. The
forwarding error code is 0x800ccc67. The response from the server is as
follows. 421 [XMail 0.70 (Win32/Ix86) SMTP Server] service not available,
closing transmission channel
"

Any suggestions/help would be appreciated.

Thanks,

Ibrahim.

Jul 26 '06 #2
Hi,

Thanks for prompt response.

The scenario is that the mail server is working fine, because it is used for
outlook express / outlook mail clients also. In these clients the mail is
firing.

But when I use these mail server in CDO.messaging function, i get the error.

It was working earlier, but suddently started giving the error.

any inputs will be welcome.

Thanks,

Ibrahim
"Juan T. Llibre" wrote:
re:
forwarding error code is 0x800ccc67. The response from the server is as
follows. 421 [XMail 0.70 (Win32/Ix86) SMTP Server] service not available,

That means that the SMTP server is not available.
Check to see if it's running and if the port is available.

Why are you using system.web.mail , instead of the 2.0-native system.net.mail ?


Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
=============== =============== =====
"Ibrahim." <Ib*****@discus sions.microsoft .comwrote in message
news:A9******** *************** ***********@mic rosoft.com...

Hello,

Im getting the following error when mail is sent from ASP.NET 2.0 website.
CDO.Messaging componenet is used for sending mail.

"
The message was not able to be transmitted to the SMTP server. The
forwarding error code is 0x800ccc67. The response from the server is as
follows. 421 [XMail 0.70 (Win32/Ix86) SMTP Server] service not available,
closing transmission channel
"

Any suggestions/help would be appreciated.

Thanks,

Ibrahim.



Jul 26 '06 #3

I have a 2.0 downloadable code example at
spaces.msn.com/sholliday/

I have the 3 methods of authentication in the example as well.
You should post the servername/ip of the smtp machine youre trying to use
also.

...

"Ibrahim." <Ib*****@discus sions.microsoft .comwrote in message
news:A9******** *************** ***********@mic rosoft.com...
>
Hello,

Im getting the following error when mail is sent from ASP.NET 2.0 website.
CDO.Messaging componenet is used for sending mail.

"
The message was not able to be transmitted to the SMTP server. The
forwarding error code is 0x800ccc67. The response from the server is as
follows. 421 [XMail 0.70 (Win32/Ix86) SMTP Server] service not available,
closing transmission channel
"

Any suggestions/help would be appreciated.

Thanks,

Ibrahim.

Jul 26 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
5462
by: baustin75 | last post by:
Posted: Mon Oct 03, 2005 1:41 pm Post subject: cannot mail() in ie only when debugging in php designer 2005 -------------------------------------------------------------------------------- Hello, I have a very simple problem but cannot seem to figure it out. I have a very simple php script that sends a test email to myself. When I debug it in PHP designer, it works with no problems, I get the test email. If
9
3212
by: B-Dog | last post by:
I've built a small app that sends mail through our ISP's SMTP server but when I try to send through my local exchange server I get CDO error. Does webmail use SMTP or does it strictly rely on CDOmail. I don't want to use the Outlook reference because outlook prompts each time program access it and I have found a way to disable that. Can I use webmail with exchange? Thanks
1
8175
by: Eric Sheu | last post by:
Greetings, I have been searching the web like mad for a solution to my SMTP problem. I am using Windows Server 2003 and ASP.NET 2.0 w/ C# to send out e-mails from a web site I have created to the members of my organization. I think my problem is incorrectly setting the settings on my server or an authentication problem. Here is the code I have written to send a test message: -----Code Begins: Sensitive Information Replaced by -----...
3
1978
by: mfleet1973 | last post by:
Hello Again. I have a program that sends e-mails as follows: Try Dim mail As New MailMessage mail.To = "me@comp.com" mail.From = "me@comp.com mail.Subject = "Test" mail.Body = "Testing123"
0
3772
by: bambi | last post by:
I am facing issues while adding attachments in an E-mail via Mapisend. The code I use is below. If I try to send , I am getting error messgae in Mailmessage.12. Mailmessage.12 is expected as numeric, I do not know what should it be. If I Provide '0', it is throwing out error. Can any one help what shoudl I do to fix this. I am able to send E-mail sucessfully without Attachments.. Code (Please refer comments near Mailmessage.12) OPTIONS...
5
2159
by: Zile | last post by:
I am trying to send mail from web page in asp.net 2.0/VB 2005: Dim Poruka As New System.Web.Mail.MailMessage myMessage.From = "matematic@gmail.com" myMessage.To = "matematic@hotmail.com" myMessage.Subject = "Automatic sending mail" myMessage.Body = "Success!" Mail.SmtpMail.Send(myMessage)
2
12168
by: =?Utf-8?B?QWRl?= | last post by:
HI All, I am encountering the following error when I try to send an email through a SMTP server. I believe the problem lies with the authentication part when the network crednetials are used, error is thrown at the .send point. Error is: The following error occured Sending an email: System.ApplicationException: An error occurred sending an email To helen@HerMail.com From ade@MyMail.com Cc Subject A test with Finlistener #1. The body...
2
6816
by: satnamsarai | last post by:
Using System.Net.Mail: Sometimes I get error 'failure sending mail. Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.' Not sure how to fix this error. I am able to send messages sometimes both other times randomly following error appear EXCEPTION:
9
3452
by: JoeP | last post by:
Hi All, How can I find the reason for such an error: Failure sending mail. Some Code... oMailMessage.IsBodyHtml = False oMailMessage.Body = cEmailBody Dim oSMTP As New SmtpClient oSMTP.Send(oMailMessage) (in this line I am getting the above err)
2
1926
by: ornto | last post by:
Hi, I'm trying to create an application which checks a dynamic web site and on certain events sends an email to me. My problem though is with the email task. By now I made this simple test code: #prova invio email smtpserver = smtplib.SMTP(mailserver) messaggio= "Messaggio di prova" print mail print messaggio
0
8262
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8196
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8701
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
6122
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5571
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4196
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2623
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1807
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1507
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.