InternetAddress
Object Hierarchy:
Description:
[
CCode ( type_id =
"camel_internet_address_get_type ()" ) ]
public class InternetAddress :
Address
Content:
Static methods:
- public static string encode_address (int? len, string name, string addr)
Encode a single address ready for internet usage.
- public static string format_address (string name, string addr)
Function to format a single address, suitable for display.
Creation methods:
Methods:
- public bool @get (int index, out unowned string? namep, out unowned string? addressp)
Get the address at index
.
- public int add (string name, string address)
Add a new internet address to this.
- public void ensure_ascii_domains ()
Ensures that all email address' domains will be ASCII encoded, which
means that any non-ASCII letters will be properly encoded.
- public int find_address (string address, out unowned string? namep)
Find an address by address.
- public int find_name (string name, out unowned string? addressp)
Find address by real name.
- public bool sanitize_ascii_domain ()
Checks the addresses in this for any
suspicious characters in the domain name and coverts those domains into their representation.
Inherited Members:
All known members inherited from class Camel.Address
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref