gmime.internet_address

Module for [InternetAddress] class

Types 3

An RFC 2822 Address object.

Methods
GType _gType() @property
InternetAddress self()Returns `this`, for use in `with` statements.
InternetAddressGidBuilder builder()Get builder for [gmime.internet_address.InternetAddress] Returns: New builder object
string getCharset()Gets the charset to be used when encoding the name of the mailbox or group. Returns: the charset to be used when encoding the name of the mailbox or group if available or null otherwise.
string getName()Gets the display name of the #InternetAddress. Returns: the name of the mailbox or group in a form suitable for display if available or null otherwise. If the name is available, the returned string...
void setCharset(string charset = null)Set the charset to use for encoding the name of the mailbox or group.
void setName(string name)Set the display name of the #InternetAddress.
string toString_(gmime.format_options.FormatOptions options, bool encode)Allocates a string containing the contents of the #InternetAddress object.
Constructors
this(void * ptr, Flag!"Take" take)

Fluent builder for [gmime.internet_address.InternetAddress]