CDO.message

  • Thread starter Thread starter July
  • Start date Start date
J

July

Hi, I created a testing application in C# on my local
computer where Visual Studio.net 2002 is installed. And I
created the saem application remote on my server. This
application is a simple test on sending an email out. The
local application works fine and successfully send out the
email. But the remote one gave me the error message:

-------------------------------------------------
The "SendUsing" configuration value is invalid.
Description: An unhandled exception occurred during the
execution of the current web request. Please review the
stack trace for more information about the error and where
it originated in the code.

Exception Details:
System.Runtime.InteropServices.COMException:
The "SendUsing" configuration value is invalid.

[COMException (0x80040220): The "SendUsing" configuration
value is invalid.]
[TargetInvocationException: Exception has been thrown by
the target of an invocation.]
[HttpException (0x80004005): Could not
access 'CDO.Message' object.]
 
Hi,
Make sure you set the SmtpMail.SmtpServer property to the ip or name
of your mail server.

like

SmtpMail.SmtpServer = "127.0.0.1"

hth,
dave
www.aspNetEmail.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top