EDataServer.SourceMailIdentity
Description: Reference for EDataServer.SourceMailIdentity

### Class

# EDataServerSourceMailIdentity

since: 3.6

#### Description

    class EDataServer.SourceMailIdentity : EDataServer.SourceExtension
    {
      /* No available fields */
    }

No description available.

Available since: 3.6

#### Hierarchy

#### Ancestors

- ESourceExtension
- GObject

#### Instance methods

###### e_source_mail_identity_dup_address

Thread-safe variation of e_source_mail_identity_get_address(). Use this function when accessing `extension` from multiple threads.

since: 3.6

###### e_source_mail_identity_dup_aliases

Thread-safe variation of e_source_mail_identity_get_aliases(). Use this function when accessing `extension` from multiple threads.

since: 3.24

###### e_source_mail_identity_dup_name

Thread-safe variation of e_source_mail_identity_get_name(). Use this function when accessing `extension` from multiple threads.

since: 3.6

###### e_source_mail_identity_dup_organization

Thread-safe variation of e_source_mail_identity_dup_organization(). Use this function when accessing `extension` from multiple threads.

since: 3.6

###### e_source_mail_identity_dup_reply_to

Thread-safe variation of e_source_mail_identity_get_reply_to(). Use this function when accessing `extension` from multiple threads.

since: 3.6

###### e_source_mail_identity_dup_signature_uid

Thread-safe variation of e_source_mail_identity_get_signature_uid(). Use this function when accessing `extension` from multiple threads.

since: 3.6

###### e_source_mail_identity_get_address

Returns the email address for this identity from which to send messages. This may be an empty string but will never be `NULL`.

since: 3.6

###### e_source_mail_identity_get_aliases

Returns the email address aliases for this identity. These are comma-separated email addresses which may or may not contain also different name. This may be an empty string, but will never be `NULL`. There can be used `camel_address_decode()` on a `CamelInternetAddress` to decode the list of aliases.

since: 3.24

###### e_source_mail_identity_get_aliases_as_hash_table

Returns a set aliases as a hash table with address as key and name as value of the hash table. The name can be sometimes empty or NULL, thus rather use `g_hash_table_contains()` when checking for particular address. The addresses are compared case insensitively. The same addresses with a different name are included only once, the last variant of it. Use `e_source_mail_identity_get_aliases()` if you need more fine-grained control on the list of aliases.

since: 3.24

###### e_source_mail_identity_get_name

Returns the sender’s name for this identity.

since: 3.6

###### e_source_mail_identity_get_organization

Returns the sender’s organization for this identity.

since: 3.6

###### e_source_mail_identity_get_reply_to

Returns the email address for this identity to which recipients should send replies.

since: 3.6

###### e_source_mail_identity_get_signature_uid

Returns the `ESource:uid` of an `ESource` describing a mail signature.

since: 3.6

###### e_source_mail_identity_set_address

Sets the email address for this identity from which to send messages.

since: 3.6

###### e_source_mail_identity_set_aliases

Sets the email address aliases for this identity. These are comma-separated email addresses which may or may not contain also different name.

since: 3.24

###### e_source_mail_identity_set_name

Sets the sender’s name for this identity.

since: 3.6

###### e_source_mail_identity_set_organization

Sets the sender’s organization for this identity.

since: 3.6

###### e_source_mail_identity_set_reply_to

Sets the email address for this identity to which recipients should send replies.

since: 3.6

###### e_source_mail_identity_set_signature_uid

Sets the `ESource:uid` of an `ESource` describing a mail signature.

since: 3.6

##### Methods inherited from ESourceExtension (4)

###### e_source_extension_get_source

Returns the `ESource` instance to which `extension` belongs.

deprecated: 3.8 since: 3.6

###### e_source_extension_property_lock

Acquires a property lock, thus no other thread can change properties of the `extension` until the lock is released.

since: 3.18

###### e_source_extension_property_unlock

Releases a property lock, previously acquired with e_source_extension_property_lock(), thus other threads can change properties of the `extension`.

since: 3.18

###### e_source_extension_ref_source

Returns the `ESource` instance to which the `extension` belongs.

since: 3.8

##### Methods inherited from GObject (43)

Please see GObject for a full list of methods.

#### Properties

###### EDataServer.SourceMailIdentity:address

Sender’s email address.

###### EDataServer.SourceMailIdentity:aliases

Sender’s email address aliases.

###### EDataServer.SourceMailIdentity:name

Sender’s name.

###### EDataServer.SourceMailIdentity:organization

Sender’s organization.

###### EDataServer.SourceMailIdentity:reply-to

Sender’s reply-to address.

###### EDataServer.SourceMailIdentity:signature-uid

ESource UID of the sender’s signature.

##### Properties inherited from ESourceExtension (1)

###### EDataServer.SourceExtension:source

The `ESource` being extended.

#### Signals

##### Signals inherited from GObject (1)

###### GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

#### Class structure

    struct EDataServerSourceMailIdentityClass {
      ESourceExtensionClass parent_class;

    }

No description available.

###### Class members

`parent_class: ESourceExtensionClass`

  No description available.