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!
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!