Using DNN 4.0.2, if you enter an invalid email address, i.e. "test@" or "test" an error occurs. Any ideas??
Thanks!
Error: Feedback is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: The specified string is not in the form required for an e-mail address. ---> System.FormatException: The specified string is not in the form required for an e-mail address. at System.Net.Mime.MailBnfHelper.ReadMailAddress(String data, Int32& offset, String& displayName) at System.Net.Mail.MailAddress.ParseValue(String address) at System.Net.Mail.MailAddress..ctor(String address, String displayName, Encoding displayNameEncoding) at System.Net.Mail.Message..ctor(String from, String to) at System.Net.Mail.MailMessage..ctor(String from, String to) at DotNetNuke.Services.Mail.Mail.SendMail(String MailFrom, String MailTo, String Cc, String Bcc, MailPriority Priority, String Subject, MailFormat BodyFormat, Encoding BodyEncoding, String Body, String Attachment, String SMTPServer, String SMTPAuthentication, String SMTPUsername, String SMTPPassword) at DotNetNuke.Services.Mail.Mail.SendMail(String MailFrom, String MailTo, String Bcc, String Subject, String Body, String Attachment, String BodyType, String SMTPServer, String SMTPAuthentication, String SMTPUsername, String SMTPPassword) at DotNetNuke.Common.Globals.SendNotification(String MailFrom, String MailTo, String Bcc, String Subject, String Body) at DotNetNuke.Modules.Feedback.Feedback.cmdSend_Click(Object sender, EventArgs e) --- End of inner exception stack trace ---