GMime.InternetAddressMailbox¶
- Subclasses:
 None
Methods¶
- Inherited:
 - Structs:
 
class  | 
  | 
  | 
|
  | 
|
  | 
Virtual Methods¶
- Inherited:
 
Properties¶
None
Signals¶
- Inherited:
 
Fields¶
- Inherited:
 
Name  | 
Type  | 
Access  | 
Description  | 
|---|---|---|---|
addr  | 
r  | 
the address string  | 
|
at  | 
r  | 
the index of the ‘@’ character  | 
|
idn_addr  | 
r  | 
the ascii-encoded version of addr  | 
|
parent_object  | 
r  | 
parent   | 
Class Details¶
- class GMime.InternetAddressMailbox(**kwargs)¶
 - Bases:
 - Abstract:
 No
- Structure:
 
An RFC 2822 Mailbox address.
- classmethod new(name, addr)¶
 - Parameters:
 - Returns:
 a new
GMime.InternetAddressMailboxobject.Note: The name string should be in UTF-8.
- Return type:
 
Creates a new
GMime.InternetAddressobject with the specified name and addr.
- get_addr()¶
 - Returns:
 the addr-spec string.
- Return type:
 
Gets the addr-spec of the internet address mailbox.
- get_idn_addr()¶
 - Returns:
 the encoded addr-spec string.
- Return type:
 
Gets the IDN ascii-encoded addr-spec.