SmtpClient - email address problem RRS feed

  • Question

  • User-1753488600 posted

    When sending out emails using the SmtpClient and a MailMessage (.net 3.5) the "To" email address(es) get validated prior to sending. I've got a big stack of email addresses which have a dot (.) before the at-sign, causing a FormatException when you attempt to send the message using the SmtpClient. This is actually a good thing, because by specification a dot before the at-sign is invalid. Unfortunately, those emails exist in the real world and they get delivered, if you send them out using your preferred email client.( get from Matthias, thanks)

    how can email validation through the SmtpClient/MailMessage be suppressed?( get from Matthias, thanks i realy got production problem so i brow your one as my english is no much good)

    Tuesday, March 20, 2012 8:46 AM