View Single Post
  #1 (permalink)  
Old June 12th, 2003, 11:05 AM
hoodsy hoodsy is offline
Registered User
 
Join Date: Jun 2003
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default The "SendUsing" configuration value is invalid

Hi,

I have been developing a site and have set up a form to email:

System.Web.Mail.MailMessage message = new System.Web.Mail.MailMessage();
            message.From = from;
            message.To = to;
            message.Subject = subject;
            message.Body = body;
            message.BodyFormat = System.Web.Mail.MailFormat.Html;

            System.Web.Mail.SmtpMail.Send(message);

This works fine on my local machine but I cannot get the email sent on the server - Here is the error message I'm getting:

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.
]

Anyone have any ideas?

Thanks in advance

Jay
Reply With Quote