473,396 Members | 2,052 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

problem with SMTP mails.

Hi,
This message i get whne i try to send mails theu my app server. any idea
where and what to look for? It works fine in Dev bed. Guide me to apprpriate
news group if its not the right place.

COM object with CLSID {CD000001-8B95-11D1-82DB-00C04FB1625D} is either not
valid or not registered. COM object with CLSID
{CD000001-8B95-11D1-82DB-00C04FB1625D} is either not valid or not
registered. at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly)
at System.Activator.CreateInstance(Type type, Boolean nonPublic) at
System.Web.Mail.CdoSysHelper.Send(MailMessage message)

Thanks,
PB
Dec 19 '05 #1
5 2055
What version of Windows is this on and are you using the .NET classes?

If possible, please provide some code.
--
Christopher A. Reed
"The oxen are slow, but the earth is patient."

"Prashant Barnwal" <ba*******@hotmail.com> wrote in message
news:Os**************@TK2MSFTNGP09.phx.gbl...
Hi,
This message i get whne i try to send mails theu my app server. any idea
where and what to look for? It works fine in Dev bed. Guide me to
apprpriate news group if its not the right place.

COM object with CLSID {CD000001-8B95-11D1-82DB-00C04FB1625D} is either not
valid or not registered. COM object with CLSID
{CD000001-8B95-11D1-82DB-00C04FB1625D} is either not valid or not
registered. at System.RuntimeType.CreateInstanceImpl(Boolean
publicOnly) at System.Activator.CreateInstance(Type type, Boolean
nonPublic) at System.Web.Mail.CdoSysHelper.Send(MailMessage message)

Thanks,
PB

Dec 19 '05 #2
This is put up on windows server 2003 and sample code is as below.
// Create a new mail message and set the values

MailMessage eMail = new MailMessage();

eMail.BodyFormat = mailBodyFormat;

eMail.From = FromAddress;

eMail.To = ToAddress;

eMail.Bcc = emailBCC;

eMail.Subject = MailSubject;

eMail.Body = MailBody;

string userName= emailUserName;

string password = emailPassword;

eMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate",
"1"); //basic authentication

eMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusername",
userName); //setting username

eMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendpassword",
password); //setting password

string smtpSERVER = smtpServer;

// Set the server address and send the mail

SmtpMail.SmtpServer = smtpSERVER;

SmtpMail.Send(eMail);
Let me know if you find anyhting wrong here.

Thanks,
PB

"Prashant Barnwal" <ba*******@hotmail.com> wrote in message
news:Os**************@TK2MSFTNGP09.phx.gbl...
Hi,
This message i get whne i try to send mails theu my app server. any idea
where and what to look for? It works fine in Dev bed. Guide me to
apprpriate news group if its not the right place.

COM object with CLSID {CD000001-8B95-11D1-82DB-00C04FB1625D} is either not
valid or not registered. COM object with CLSID
{CD000001-8B95-11D1-82DB-00C04FB1625D} is either not valid or not
registered. at System.RuntimeType.CreateInstanceImpl(Boolean
publicOnly) at System.Activator.CreateInstance(Type type, Boolean
nonPublic) at System.Web.Mail.CdoSysHelper.Send(MailMessage message)

Thanks,
PB

Dec 20 '05 #3
Do you have SMTP set up on your web server? What SMTP server are you
attempting to send this through? Do you have relaying rights set up on your
specified SMTP server?
--
Christopher A. Reed
"The oxen are slow, but the earth is patient."

"Prashant Barnwal" <ba*******@hotmail.com> wrote in message
news:u1**************@TK2MSFTNGP09.phx.gbl...
This is put up on windows server 2003 and sample code is as below.
// Create a new mail message and set the values

MailMessage eMail = new MailMessage();

eMail.BodyFormat = mailBodyFormat;

eMail.From = FromAddress;

eMail.To = ToAddress;

eMail.Bcc = emailBCC;

eMail.Subject = MailSubject;

eMail.Body = MailBody;

string userName= emailUserName;

string password = emailPassword;

eMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate",
"1"); //basic authentication

eMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusername",
userName); //setting username

eMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendpassword",
password); //setting password

string smtpSERVER = smtpServer;

// Set the server address and send the mail

SmtpMail.SmtpServer = smtpSERVER;

SmtpMail.Send(eMail);
Let me know if you find anyhting wrong here.

Thanks,
PB

"Prashant Barnwal" <ba*******@hotmail.com> wrote in message
news:Os**************@TK2MSFTNGP09.phx.gbl...
Hi,
This message i get whne i try to send mails theu my app server. any idea
where and what to look for? It works fine in Dev bed. Guide me to
apprpriate news group if its not the right place.

COM object with CLSID {CD000001-8B95-11D1-82DB-00C04FB1625D} is either
not valid or not registered. COM object with CLSID
{CD000001-8B95-11D1-82DB-00C04FB1625D} is either not valid or not
registered. at System.RuntimeType.CreateInstanceImpl(Boolean
publicOnly) at System.Activator.CreateInstance(Type type, Boolean
nonPublic) at System.Web.Mail.CdoSysHelper.Send(MailMessage message)

Thanks,
PB


Dec 21 '05 #4
Hi Reed,
thanks for your assistance.
I am using localhost as SMTP server, and I am able to relay mails, able to
send mails using the same piece of code.
But my problem is my queued component sends mail for me, at times it fails,
giving below mentioned error.
I have 3 app servers (clustered), one of the app server is failing
inconsistently.
I am not able to figure out why and how?

thanks,
PB
"Christopher Reed" <ca****@nospam.nospam> wrote in message
news:%2***************@TK2MSFTNGP11.phx.gbl...
Do you have SMTP set up on your web server? What SMTP server are you
attempting to send this through? Do you have relaying rights set up on
your specified SMTP server?
--
Christopher A. Reed
"The oxen are slow, but the earth is patient."

"Prashant Barnwal" <ba*******@hotmail.com> wrote in message
news:u1**************@TK2MSFTNGP09.phx.gbl...
This is put up on windows server 2003 and sample code is as below.
// Create a new mail message and set the values

MailMessage eMail = new MailMessage();

eMail.BodyFormat = mailBodyFormat;

eMail.From = FromAddress;

eMail.To = ToAddress;

eMail.Bcc = emailBCC;

eMail.Subject = MailSubject;

eMail.Body = MailBody;

string userName= emailUserName;

string password = emailPassword;

eMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate",
"1"); //basic authentication

eMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusername",
userName); //setting username

eMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendpassword",
password); //setting password

string smtpSERVER = smtpServer;

// Set the server address and send the mail

SmtpMail.SmtpServer = smtpSERVER;

SmtpMail.Send(eMail);
Let me know if you find anyhting wrong here.

Thanks,
PB

"Prashant Barnwal" <ba*******@hotmail.com> wrote in message
news:Os**************@TK2MSFTNGP09.phx.gbl...
Hi,
This message i get whne i try to send mails theu my app server. any idea
where and what to look for? It works fine in Dev bed. Guide me to
apprpriate news group if its not the right place.

COM object with CLSID {CD000001-8B95-11D1-82DB-00C04FB1625D} is either
not valid or not registered. COM object with CLSID
{CD000001-8B95-11D1-82DB-00C04FB1625D} is either not valid or not
registered. at System.RuntimeType.CreateInstanceImpl(Boolean
publicOnly) at System.Activator.CreateInstance(Type type, Boolean
nonPublic) at System.Web.Mail.CdoSysHelper.Send(MailMessage message)

Thanks,
PB



Dec 22 '05 #5
I'm guessing that part of the problem is that you have to authenicate. Are
you required to authenticate, or can you use anonymous access? Also, you
might want to make sure the user name and password are not null.
--
Christopher A. Reed
"The oxen are slow, but the earth is patient."

"Prashant Barnwal" <ba*******@hotmail.com> wrote in message
news:e7*************@TK2MSFTNGP12.phx.gbl...
Hi Reed,
thanks for your assistance.
I am using localhost as SMTP server, and I am able to relay mails, able to
send mails using the same piece of code.
But my problem is my queued component sends mail for me, at times it
fails, giving below mentioned error.
I have 3 app servers (clustered), one of the app server is failing
inconsistently.
I am not able to figure out why and how?

thanks,
PB
"Christopher Reed" <ca****@nospam.nospam> wrote in message
news:%2***************@TK2MSFTNGP11.phx.gbl...
Do you have SMTP set up on your web server? What SMTP server are you
attempting to send this through? Do you have relaying rights set up on
your specified SMTP server?
--
Christopher A. Reed
"The oxen are slow, but the earth is patient."

"Prashant Barnwal" <ba*******@hotmail.com> wrote in message
news:u1**************@TK2MSFTNGP09.phx.gbl...
This is put up on windows server 2003 and sample code is as below.
// Create a new mail message and set the values

MailMessage eMail = new MailMessage();

eMail.BodyFormat = mailBodyFormat;

eMail.From = FromAddress;

eMail.To = ToAddress;

eMail.Bcc = emailBCC;

eMail.Subject = MailSubject;

eMail.Body = MailBody;

string userName= emailUserName;

string password = emailPassword;

eMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate",
"1"); //basic authentication

eMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusername",
userName); //setting username

eMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendpassword",
password); //setting password

string smtpSERVER = smtpServer;

// Set the server address and send the mail

SmtpMail.SmtpServer = smtpSERVER;

SmtpMail.Send(eMail);
Let me know if you find anyhting wrong here.

Thanks,
PB

"Prashant Barnwal" <ba*******@hotmail.com> wrote in message
news:Os**************@TK2MSFTNGP09.phx.gbl...
Hi,
This message i get whne i try to send mails theu my app server. any
idea where and what to look for? It works fine in Dev bed. Guide me to
apprpriate news group if its not the right place.

COM object with CLSID {CD000001-8B95-11D1-82DB-00C04FB1625D} is either
not valid or not registered. COM object with CLSID
{CD000001-8B95-11D1-82DB-00C04FB1625D} is either not valid or not
registered. at System.RuntimeType.CreateInstanceImpl(Boolean
publicOnly) at System.Activator.CreateInstance(Type type, Boolean
nonPublic) at System.Web.Mail.CdoSysHelper.Send(MailMessage
message)

Thanks,
PB



Dec 22 '05 #6

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

Similar topics

6
by: Fernando M. | last post by:
Hi, i made a test with smtplib module a few days ago, for sending mails, and i was wondering if there's another module for running an SMTP server, so i could make a standalone script for sending...
2
by: Latha Rajeev | last post by:
Hi, I have an application which sends out mails(using CDO), the SMTP Server being a machine which is one the same network. Most times, the mails are sent out successfully but every once in a...
1
by: Robert Dufour | last post by:
I a m trying to send e-mails using the system.net.mail in framework2. I have IIS installed on my test box and the smtp service is started. I can use outlook on that box to send and receive my...
5
by: Sin Jeong-hun | last post by:
Hi. I would like to let users send bug reports or other messages to me. Maybe the easiest way to send e-mails from my application is just use the default e-mail agent by executing a link...
3
by: Pav | last post by:
Hi, I am developing a small Intranet web application which needs to send mails to our coporate Ids. I am using CDONTS, But my mails never leave Que folder. Not able to find out what the...
1
by: erPanita | last post by:
Hello.. I'm using the C# class System.Net.Mail.MailMessagein order to send Emails in HTML Format. The HTML body comes from a Crystal Report converted to HTML Format 40 through the Crystal Class from...
2
by: softbreeze | last post by:
Operating systems: Windows 2003 Enterprise ASP.Net 2.0, IIS 6.0, *** SMTP is not installed *** I have a corporate network that has an SMTP server (10.254.3.30) on it. I have a subnet (10.5.42.0)...
5
by: Josh | last post by:
I'm curious about the limits of my current method of sending out e- mail w/ php and possibly alternatives. Right now, I have a mysql DB of registered users. I have a PHP file accessed daily that...
13
by: btreddy | last post by:
Hii all, I've been searching in the internet just to know abt SMTP server. Can anybody tell me how to configure the SMTP server and how can i send the mails and how could i check whether...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
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...

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.