ref_default_mail_identity


Description:

public Source? ref_default_mail_identity ()

Returns the Source most recently passed to set_default_mail_identity either in this session or a previous session, or else falls back to the mail identity named by the default mail account.

If even that fails it returns any mail identity from this, or null if there are none.

The returned Source is referenced for thread-safety and must be unreferenced with unref when finished with it.

Parameters:

this

an SourceRegistry

Returns:

the default mail identity Source, or null