B
brett
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 = "(e-mail address removed)";
string emailFrom = "(e-mail address removed)";
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
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 = "(e-mail address removed)";
string emailFrom = "(e-mail address removed)";
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