gmime.internet_address

Module for [InternetAddress] class

Types 3

An RFC 2822 Address object.

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
InternetAddress self() nothrowReturns `this`, for use in `with` statements.
InternetAddressGidBuilder builder() static nothrowGet builder for [gmime.internet_address.InternetAddress] Returns: New builder object
string getCharset() nothrowGets 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() nothrowGets 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) nothrowSet the charset to use for encoding the name of the mailbox or group.
void setName(string name) nothrowSet the display name of the #InternetAddress.
string toString_(gmime.format_options.FormatOptions options, bool encode) nothrowAllocates a string containing the contents of the #InternetAddress object.
Constructors
this(void * ptr, Flag!"Take" take)
Methods
InternetAddress build() nothrowCreate object from builder. Returns: New object