Represents the address of a message. More...
Inherits Aspose::Email::IMailAddress.
Inherited by Aspose::Email::PersonalInfo::EmailAddress.
Public Member Functions | |
| System::String | get_DisplayName () override |
| Gets a display name. More... | |
| void | set_DisplayName (System::String value) override |
| Sets a display name. More... | |
| System::String | get_User () const |
| Gets the username. More... | |
| System::String | get_Host () const |
| Gets the host portion of the address. More... | |
| System::String | get_Address () override |
| Gets the e-mail address. More... | |
| void | set_Address (System::String value) override |
| Sets the e-mail address. More... | |
| System::String | get_OriginalAddressString () |
| Gets the original e-mail address string. More... | |
| void | set_OriginalAddressString (System::String value) |
| Sets the original e-mail address string. More... | |
| int32_t | get_Count () |
| Contains count of mail addresses. More... | |
| System::SharedPtr< System::Text::Encoding > | get_DisplayNameEncoding () const |
| Gets the display name encoding. More... | |
| System::String | get_SmtpAddress () |
| Aspose::Email::ParticipationStatus | get_ParticipationStatus () |
| Gets the participation status for the calendar user. More... | |
| void | set_ParticipationStatus (Aspose::Email::ParticipationStatus value) |
| Sets the participation status for the calendar user. More... | |
| System::SharedPtr< Calendar::Model::ParameterCollection > | get_Parameters () const |
| System::SharedPtr< ObjectIdentifier > | get_Id () const |
| Gets object identification information More... | |
| bool | get_DisplayedEmailInOutlook () const |
| Defines whether need rendered Email address for particular message if it converted from MapiMessage. More... | |
| void | set_DisplayedEmailInOutlook (bool value) |
| Defines whether need rendered Email address for particular message if it converted from MapiMessage. More... | |
| MailAddress (System::String address, bool ignoreSmtpCheck) | |
| Initializes a new instance of the MailAddress class. More... | |
| MailAddress (System::String address, System::String displayName, bool ignoreSmtpCheck) | |
| Initializes a new instance of the MailAddress class. More... | |
| MailAddress (System::String address, System::String displayName, System::SharedPtr< System::Text::Encoding > displayNameEncoding) | |
| Initializes a new instance of the MailAddress class. More... | |
| MailAddress (System::String address, System::String displayName, System::SharedPtr< System::Text::Encoding > displayNameEncoding, bool ignoreSmtpCheck) | |
| Initializes a new instance of the MailAddress class. More... | |
| MailAddress (System::String address) | |
| Initializes a new instance of the MailAddress class. More... | |
| MailAddress (System::String address, System::String displayName) | |
| Initializes a new instance of the MailAddress class. More... | |
| MailAddress (System::String address, System::String encodedDisplayName, int32_t bogusParam) | |
| Initializes a new instance of the MailAddress class. More... | |
| MailAddress () | |
| Initializes a new instance of the MailAddress class. More... | |
| System::SharedPtr< MailAddress > | idx_get (int32_t i) |
| Gets the element at the specified index. More... | |
| System::String | ToString (System::String displayNameQuote) |
| bool | Equals (System::SharedPtr< System::Object > obj) override |
| Determines whether the specified System::Object is equal to this instance. More... | |
| int32_t | GetHashCode () const override |
| Returns a hash code for this instance. More... | |
| System::SharedPtr< MailAddress > | Clone () |
| void | CopyInplace (System::SharedPtr< MailAddress > address) |
| void | SetEncoding (System::SharedPtr< System::Text::Encoding > nameEncoding) |
| Sets encoding for dysplay name More... | |
| System::String | ToEncodedString () |
| System::String | ToString () const override |
| Returns a System::String that represents this instance. More... | |
Static Public Member Functions | |
| static System::SharedPtr< MailAddress > | to_MailAddress (System::String address) |
| static System::SharedPtr< MailAddress > | to_MailAddress (System::SharedPtr< MailAddressCollection > addresses) |
| static System::SharedPtr< MailAddress > | SafeCreateMailAddress (System::String address, System::String displayName, bool ignoreSmtpCheck) |
| static System::SharedPtr< MailAddress > | SafeCreateMailAddressWithEncoding (System::String address) |
| static System::SharedPtr< MailAddress > | SafeCreateMailAddressWithEncoding (System::String address, System::String displayName) |
| static System::SharedPtr< MailAddress > | SafeCreateMailAddressWithEncoding (System::String address, System::String displayName, System::SharedPtr< System::Text::Encoding > displayNameEncoding) |
Protected Member Functions | |
| virtual | ~MailAddress () |
Represents the address of a message.
| Aspose::Email::MailAddress::MailAddress | ( | System::String | address, |
| bool | ignoreSmtpCheck | ||
| ) |
Initializes a new instance of the MailAddress class.
| address | The mail address. |
| ignoreSmtpCheck | if set to true then SMTP check will be omitted. |
| Aspose::Email::MailAddress::MailAddress | ( | System::String | address, |
| System::String | displayName, | ||
| bool | ignoreSmtpCheck | ||
| ) |
Initializes a new instance of the MailAddress class.
| address | The mail address. |
| displayName | The display name. |
| ignoreSmtpCheck | if set to true then SMTP check will be omitted. |
| Aspose::Email::MailAddress::MailAddress | ( | System::String | address, |
| System::String | displayName, | ||
| System::SharedPtr< System::Text::Encoding > | displayNameEncoding | ||
| ) |
Initializes a new instance of the MailAddress class.
| address | The mail address. |
| displayName | The display name. |
| displayNameEncoding | The display name encoding. |
| Aspose::Email::MailAddress::MailAddress | ( | System::String | address, |
| System::String | displayName, | ||
| System::SharedPtr< System::Text::Encoding > | displayNameEncoding, | ||
| bool | ignoreSmtpCheck | ||
| ) |
Initializes a new instance of the MailAddress class.
| address | The mail address. |
| displayName | The display name. |
| displayNameEncoding | The display name encoding. |
| ignoreSmtpCheck | if set to true then SMTP check will be omitted. |
| Aspose::Email::MailAddress::MailAddress | ( | System::String | address | ) |
Initializes a new instance of the MailAddress class.
| address | The mail address. |
| Aspose::Email::MailAddress::MailAddress | ( | System::String | address, |
| System::String | displayName | ||
| ) |
Initializes a new instance of the MailAddress class.
| address | The mail address. |
| displayName | The display name. |
| Aspose::Email::MailAddress::MailAddress | ( | System::String | address, |
| System::String | encodedDisplayName, | ||
| int32_t | bogusParam | ||
| ) |
Initializes a new instance of the MailAddress class.
| address | The address. |
| encodedDisplayName | Display name of the encoded. |
| bogusParam | The bogus param. |
| Aspose::Email::MailAddress::MailAddress | ( | ) |
Initializes a new instance of the MailAddress class.
|
protectedvirtual |
| System::SharedPtr<MailAddress> Aspose::Email::MailAddress::Clone | ( | ) |
| void Aspose::Email::MailAddress::CopyInplace | ( | System::SharedPtr< MailAddress > | address | ) |
|
override |
Determines whether the specified System::Object is equal to this instance.
| obj | The System::Object to compare with this instance. |
true if the specified System::Object is equal to this instance; otherwise, false.
|
overridevirtual |
Gets the e-mail address.
A String that contains the e-mail address.
Implements Aspose::Email::IMailAddress.
| int32_t Aspose::Email::MailAddress::get_Count | ( | ) |
Contains count of mail addresses.
| bool Aspose::Email::MailAddress::get_DisplayedEmailInOutlook | ( | ) | const |
Defines whether need rendered Email address for particular message if it converted from MapiMessage.
|
overridevirtual |
Gets a display name.
A String that contains the display name.
Implements Aspose::Email::IMailAddress.
| System::SharedPtr<System::Text::Encoding> Aspose::Email::MailAddress::get_DisplayNameEncoding | ( | ) | const |
Gets the display name encoding.
Encoding of the display name.
| System::String Aspose::Email::MailAddress::get_Host | ( | ) | const |
Gets the host portion of the address.
A String that contains the name of the host.
| System::SharedPtr<ObjectIdentifier> Aspose::Email::MailAddress::get_Id | ( | ) | const |
Gets object identification information
| System::String Aspose::Email::MailAddress::get_OriginalAddressString | ( | ) |
Gets the original e-mail address string.
A String that contains the original e-mail address.
| System::SharedPtr<Calendar::Model::ParameterCollection> Aspose::Email::MailAddress::get_Parameters | ( | ) | const |
| Aspose::Email::ParticipationStatus Aspose::Email::MailAddress::get_ParticipationStatus | ( | ) |
Gets the participation status for the calendar user.
| System::String Aspose::Email::MailAddress::get_SmtpAddress | ( | ) |
| System::String Aspose::Email::MailAddress::get_User | ( | ) | const |
Gets the username.
A String that contains the user name.
|
override |
Returns a hash code for this instance.
| System::SharedPtr<MailAddress> Aspose::Email::MailAddress::idx_get | ( | int32_t | i | ) |
Gets the element at the specified index.
| i | The zero-based index of the element to get or set. |
|
static |
/this if for internal usage /try to parse the mailaddress, if failed, ignore the checking
|
static |
|
static |
|
static |
|
overridevirtual |
Sets the e-mail address.
A String that contains the e-mail address.
Implements Aspose::Email::IMailAddress.
| void Aspose::Email::MailAddress::set_DisplayedEmailInOutlook | ( | bool | value | ) |
Defines whether need rendered Email address for particular message if it converted from MapiMessage.
|
overridevirtual |
Sets a display name.
A String that contains the display name.
Implements Aspose::Email::IMailAddress.
| void Aspose::Email::MailAddress::set_OriginalAddressString | ( | System::String | value | ) |
Sets the original e-mail address string.
A String that contains the original e-mail address.
| void Aspose::Email::MailAddress::set_ParticipationStatus | ( | Aspose::Email::ParticipationStatus | value | ) |
Sets the participation status for the calendar user.
| void Aspose::Email::MailAddress::SetEncoding | ( | System::SharedPtr< System::Text::Encoding > | nameEncoding | ) |
Sets encoding for dysplay name
| nameEncoding |
|
static |
|
static |
| System::String Aspose::Email::MailAddress::ToEncodedString | ( | ) |
|
override |
Returns a System::String that represents this instance.
| System::String Aspose::Email::MailAddress::ToString | ( | System::String | displayNameQuote | ) |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |