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)
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.