92 if (pfx && buf && buflen)
Representation of an email address.
static const char * buf_string(const struct Buffer *buf)
Convert a buffer to a const char * "string".
Convenience wrapper for the core headers.
Structs that make up an email.
const char * mutt_get_name(const struct Address *a)
Pick the best name to display from an address.
bool mutt_is_mail_list(const struct Address *addr)
Is this the email address of a mailing list?
bool mutt_is_subscribed_list(const struct Address *addr)
Is this the email address of a user-subscribed mailing list?
bool check_for_mailing_list(struct AddressList *al, const char *pfx, char *buf, int buflen)
Search list of addresses for a mailing list.
bool check_for_mailing_list_addr(struct AddressList *al, char *buf, int buflen)
Check an address list for a mailing list.
bool first_mailing_list(struct AddressList *al, struct Buffer *buf)
Get the first mailing list in the list of addresses.
@ MODULE_ID_EMAIL
ModuleEmail, Email code
Convenience wrapper for the library headers.
bool mutt_regexlist_match(struct RegexList *rl, const char *str)
Does a string match any Regex in the list?
void generate_save_path(struct Buffer *dest, const struct Address *a)
Make a safe filename from an email address.
Some miscellaneous functions.
void * neomutt_get_module_data(struct NeoMutt *n, enum ModuleId id)
Get the private data for a Module.
#define TAILQ_FOREACH(var, head, field)
struct Buffer * mailbox
Mailbox and host address.
String manipulation buffer.
Email private Module data.
struct RegexList unsubscribed
Regexes to exclude false matches in subscribed.
struct RegexList subscribed
Regexes to match subscribed mailing lists.
struct RegexList unmail
Regexes to exclude false matches in mail.
struct RegexList mail
Regexes to match mailing lists.
Container for Accounts, Notifications.