kcwallace
Centurion
I am using the following
sendFromAddress and sendFromName are strings
i am attempting to send to a valid email address, but it errors and states that "The specified string is not in the form required for an e-mail address." I know that address is good, i send to it several times a day. It is the form
1234@abc.xyz.com
Can anyone offer any suggestions
Code:
using System.Net.Mail;
...
message = new MailMessage();
fromAddress = new MailAddress(sendFromAddress, sendFromName);
sendFromAddress and sendFromName are strings
i am attempting to send to a valid email address, but it errors and states that "The specified string is not in the form required for an e-mail address." I know that address is good, i send to it several times a day. It is the form
1234@abc.xyz.com
Can anyone offer any suggestions