Class

CamelInternetAddress

Description

class Camel.InternetAddress : Camel.Address {
  parent: CamelAddress,
  priv: CamelInternetAddressPrivate*
}
No description available.

Ancestors

Constructors

camel_internet_address_new

Create a new CamelInternetAddress object.

Functions

camel_internet_address_encode_address

Encode a single address ready for internet usage. Header folding as per rfc822 is also performed, based on the length *len. If len is NULL, then no folding will occur.

camel_internet_address_format_address

Function to format a single address, suitable for display.

Instance methods

camel_internet_address_add

Add a new internet address to addr.

camel_internet_address_ensure_ascii_domains

Ensures that all email address’ domains will be ASCII encoded, which means that any non-ASCII letters will be properly encoded. This includes IDN (Internationalized Domain Names).

since: 3.16

camel_internet_address_find_address

Find an address by address.

camel_internet_address_find_name

Find address by real name.

camel_internet_address_get

Get the address at index.

camel_internet_address_sanitize_ascii_domain

Checks the addresses in addr for any suspicious characters in the domain name and coverts those domains into their representation. In contrast to camel_internet_address_ensure_ascii_domains(), this converts the domains into ASCII only when needed, as returned by camel_hostname_utils_requires_ascii().

since: 3.44

Methods inherited from CamelAddress (9)
camel_address_cat

Concatenate one address onto another. The addresses must be of the same type.

camel_address_copy

Copy the contents of one address into another.

camel_address_decode

Construct a new address from a raw address field.

camel_address_encode

Encode an address in a format suitable for a raw header.

camel_address_format

Format an address in a format suitable for display.

camel_address_length

Get the number of addresses stored in the address addr.

camel_address_new_clone

Clone an existing address type.

camel_address_remove

Remove an address by index, or all addresses.

camel_address_unformat

Attempt to convert a previously formatted and/or edited address back into internal form.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

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 CamelInternetAddressClass {
  CamelAddressClass parent_class;
  None reserved;
  
}
No description available.
Class members
parent_class: CamelAddressClass
No description available.
reserved: None
No description available.