MsgAddress Constructor
Namespace: Rebex.Mail
Assembly: Rebex.Msg.dll (version 7.0.9083)
MsgAddress(MsgAddress)
Initializes a new instance of MsgAddress class from an existing instance.
Declaration
public MsgAddress(MsgAddress address)
Parameters
Type | Name | Description |
---|---|---|
MsgAddress | address | An address to copy values from. |
MsgAddress(String, String)
Initializes a new instance of MsgAddress class.
Declaration
public MsgAddress(string emailAddress, string displayName = null)
Parameters
Type | Name | Description |
---|---|---|
String | emailAddress | An e-mail address (optionally with display name). If the value starts with slash ("/"), the address type is set to Exchange. Otherwise, the address type is set to Smtp. |
String | displayName | A display name of the e-mail address. |
MsgAddress(MsgAddressType, String, String)
Initializes a new instance of MsgAddress class.
Declaration
public MsgAddress(MsgAddressType addressType, string emailAddress, string displayName = null)
Parameters
Type | Name | Description |
---|---|---|
MsgAddressType | addressType | A type of the e-mail address. |
String | emailAddress | An e-mail address. |
String | displayName | A display name of the e-mail address. |