MailAddressParser class
Parses email addresses as described in RFC 2822. This class cannot be inherited.
internal static class MailAddressParser
Warning
This class is internal and is not meant to be used directly in your code.
Microsoft does not support the use of this class in a production application under any circumstance.
ParseAddress method
Parses a single email address from the specified string.
internal static MailAddress ParseAddress(string data)
Parameters
data
String
The string that contains an email address to be parsed.
Return value
A valid email address.
Exceptions
The email address is invalid.
Requirements
Namespace: System.Net
Assembly: System (in System.dll)
Samarbejd med os på GitHub
Kilden til dette indhold kan findes på GitHub, hvor du også kan oprette og gennemse problemer og pullanmodninger. Du kan få flere oplysninger i vores vejledning til bidragydere.