I'm getting this error when I try to send mail from my local machine:
The "SendUsing" configuration value is invalid.
Exception Details: System.Runtime.InteropServices.COMException: The
"SendUsing" configuration value is invalid
Here is the code I'm using:
string emailTo = "in**@abc.com";
string emailFrom = "in**@abc.com";
string emailSubject = "Message Inquiry";
string emailBody = "body here";
System.Web.Mail.SmtpMail.Send(emailFrom, emailTo, emailSubject,
emailBody);
When I upload this to the web server, I don't get an error but I don't
get mail either. Any suggestions?
Thanks,
Brett