Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

my email script doesn't work

Status
Not open for further replies.

sthmpsn1

MIS
Sep 26, 2001
456
US
I upgraded my framework to version 1.1 and now when I try to send mail using the code below it gives me an error

objMailMessage = New MailMessage
objMailMessage.From= ""
objMailMessage.To= ""
objMailMessage.Subject = "Updated Employee Information"
objMailMessage.Body = strHTMLBody
objMailMessage.BodyFormat = MailFormat.HTML
objMailMessage.Priority = MailPriority.High
SmtpMail.Send( objMailMessage )


This is the error

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.

Any help would be great!
 
See faq796-2119

That'l do donkey, that'l do
[bravo] Mark
If you are unsure of forum etiquette check here faq796-2540
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top