Now I am getting the exceptions here. I swear I wasn't before though. Weird.
""Peter Huang" [MSFT]" wrote:
> Hi Dave,
>
> Based on my test, the code does throw exception for the MailMessage ctor.
> MailMessage mail = new MailMessage("bogus", "bogus", "Windward test email",
> "This is an email sent from the Windward RePortal installer");
>
> Once we changed the from/to email address below, the exception will gone.
> "bogus@a.com", "bogus@a.com",
>
> Also the format for the server name bogus is OK, because in LAN we can use
> a smtp server name of such format but not a internal full qualified name.
> e.g.(smtp.doamin.com).
>
> Best regards,
>
> Perter Huang
> Microsoft Online Partner Support
>
> Get Secure! -
www.microsoft.com/security > This posting is provided "AS IS" with no warranties, and confers no rights.
>