Class MIMEHeaderMailAttribute
MIMEHeaderMailAttribute used fom complex attributes with mail addresses.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.MIME.Base.Implementation.Attributes
Assembly: Syncfusion.MIME.Base.dll
Syntax
public class MIMEHeaderMailAttribute : MIMEHeaderSubTypesAttribute, IMIMEHeaderSubTypesAttribute, IMIMEHeaderAttribute, IMIMESerialization
Constructors
MIMEHeaderMailAttribute(IMIMEHeader)
Main Constructor.
Declaration
public MIMEHeaderMailAttribute(IMIMEHeader header)
Parameters
Type | Name | Description |
---|---|---|
IMIMEHeader | header | header to get hash table. |
MIMEHeaderMailAttribute(IMIMEHeader, String)
Constructor allow to specify parent header and attribute name in one call.
Declaration
public MIMEHeaderMailAttribute(IMIMEHeader header, string name)
Parameters
Type | Name | Description |
---|---|---|
IMIMEHeader | header | Parent header. |
System.String | name | attribute name. |
Fields
DEF_REGEX_MAIL
regex to find e-mail adress.
Declaration
public const string DEF_REGEX_MAIL = "[a-zA-Z0-9.]*[@][a-zA-Z0-9]+[.][a-zA-Z0-9.]+"
Field Value
Type |
---|
System.String |
Methods
Save(Stream)
Save MIME attribute to stream.
Declaration
public override void Save(Stream stream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream | stream to write to. |