Daily Archives: October 9, 2008

1 post

Exception error when instantiating MailMessage instance

When instantiating an instance of the MailMessage class: ‘VB.NET Dim mm As MailMessage = new MailMessage() //C# MailMessage mm = new MailMessage(); you get an exception error: The specified string is not in the form required for an e-mail address. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.FormatException: The […]