The methods of the EmailMessage class are listed below. For a complete list of EmailMessage class members, see the EmailMessage Members topic.
![]() Parse | Overloaded. Creates an EmailMessage object from the specified string. Can be used to parse emails stored as text files. |
Equals (inherited from Object) | Determines whether the specified Object is equal to the current Object. |
GetCustomHeader | Returns a custom header of the email message. |
GetHashCode (inherited from Object) | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetType (inherited from Object) | Gets the Type of the current instance. |
ToString | Exports EmailMessage object to string. Can be used to save emails as text files. |
Finalize (inherited from Object) | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. |
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object. |
EmailMessage Class | ForAspNet.POP3 Namespace