G
Guest
I want to use the new System.Net.Mail instead of the old System.Web.Mail.
I'm getting an error "Hot not specified" when I try to do my last two lines:
System.Net.Mail.SmtpClient SMTP = new SmtpClient();
SMTP.Send(Message); //Error happens here
But the thing is, in my old use of System.Web.Mail, I never had this
problem. Why do I HAVE to specify the host in the new version and I didn't
have to in the old?
Alex
I'm getting an error "Hot not specified" when I try to do my last two lines:
System.Net.Mail.SmtpClient SMTP = new SmtpClient();
SMTP.Send(Message); //Error happens here
But the thing is, in my old use of System.Web.Mail, I never had this
problem. Why do I HAVE to specify the host in the new version and I didn't
have to in the old?
Alex