Go to the documentation of this file.
24 #ifndef MUTT_EMAIL_ENVELOPE_H
25 #define MUTT_EMAIL_ENVELOPE_H
32 #define MUTT_ENV_CHANGED_IRT (1 << 0)
33 #define MUTT_ENV_CHANGED_REFS (1 << 1)
34 #define MUTT_ENV_CHANGED_XLABEL (1 << 2)
35 #define MUTT_ENV_CHANGED_SUBJECT (1 << 3)
58 struct AddressList
to;
59 struct AddressList
cc;
60 struct AddressList
bcc;
char * subject
Email's subject.
struct AutocryptHeader * mutt_autocrypthdr_new(void)
Create a new AutocryptHeader.
struct AddressList bcc
Email's 'Bcc' list.
char * followup_to
List of 'followup-to' fields.
struct AddressList x_original_to
Email's 'X-Orig-to'.
struct ListHead in_reply_to
in-reply-to header content
char * message_id
Message ID.
char * organization
Organisation header.
String manipulation buffer.
char * supersedes
Supersedes header.
struct AutocryptHeader * autocrypt
char * x_comment_to
List of 'X-comment-to' fields.
void mutt_env_merge(struct Envelope *base, struct Envelope **extra)
Merge the headers of two Envelopes.
char * real_subj
Offset of the real subject.
struct AddressList reply_to
Email's 'reply-to'.
struct AddressList cc
Email's 'Cc' list.
char * xref
List of cross-references.
unsigned char changed
Changed fields, e.g. MUTT_ENV_CHANGED_SUBJECT.
void mutt_env_to_local(struct Envelope *e)
Convert an Envelope's Address fields to local format.
int mutt_env_to_intl(struct Envelope *env, const char **tag, char **err)
Convert an Envelope's Address fields to Punycode format.
struct AddressList to
Email's 'To' list.
char * disp_subj
Display subject (modified copy of subject)
char * newsgroups
List of newsgroups.
struct Envelope * mutt_env_new(void)
Create a new Envelope.
struct ListHead userhdrs
user defined headers
struct AddressList from
Email's 'From' list.
void mutt_autocrypthdr_free(struct AutocryptHeader **p)
Free an AutocryptHeader.
struct Buffer spam
Spam header.
char * list_post
This stores a mailto URL, or nothing.
void mutt_env_free(struct Envelope **ptr)
Free an Envelope.
struct AddressList return_path
Return path for the Email.
struct AddressList mail_followup_to
Email's 'mail-followup-to'.
struct ListHead references
message references (in reverse order)
struct AddressList sender
Email's sender.
struct AutocryptHeader * autocrypt_gossip
bool mutt_env_cmp_strict(const struct Envelope *e1, const struct Envelope *e2)
Strictly compare two Envelopes.