message: implement rfc2047-encoding addresses
For address names with commas, quotes etc.
This commit is contained in:
@ -45,6 +45,16 @@ using MimeFormatOptions = deletable_unique_ptr<GMimeFormatOptions, g_mime_format
|
||||
*/
|
||||
void init_gmime(void);
|
||||
|
||||
|
||||
/**
|
||||
* Get a RFC2047-compatible address for the given contact
|
||||
*
|
||||
* @param contact a contact
|
||||
*
|
||||
* @return an address string
|
||||
*/
|
||||
std::string address_rfc2047(const Contact& contact);
|
||||
|
||||
class Object {
|
||||
public:
|
||||
/**
|
||||
@ -160,6 +170,10 @@ private:
|
||||
mutable GObject *self_{};
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Thin wrapper around a GMimeContentType
|
||||
|
||||
Reference in New Issue
Block a user