get_aliases_as_hash_table


Description:

[ Version ( since = "3.24" ) ]
public HashTable<string,string>? get_aliases_as_hash_table ()

Returns a set aliases as a hash table with address as key and name as value of the hash table.

The name can be sometimes empty or NULL, thus rather use contains when checking for particular address. The addresses are compared case insensitively. The same addresses with a different name are included only once, the last variant of it. Use get_aliases if you need more fine-grained control on the list of aliases.

Parameters:

this

an SourceMailIdentity

Returns:

A newly created GenericSet will all the aliases. Returns null if there are none set. Use g_hash_table_destroy to free the returned hash table.