help with email error

kcwallace

Centurion
Joined
May 27, 2004
Messages
175
Location
Austin, TX
I am using the following

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
 
Back
Top