NeoMutt  2024-10-02-37-gfa9146
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
Email Struct Reference

The envelope/body of an email. More...

#include "email.h"

+ Inheritance diagram for Email:
+ Collaboration diagram for Email:

Data Fields

SecurityFlags security
 bit 0-10: flags, bit 11,12: application, bit 13: traditional pgp See: ncrypt/lib.h pgplib.h, smime.h
 
bool expired: 1
 Already expired?
 
bool flagged: 1
 Marked important?
 
bool mime: 1
 Has a MIME-Version header?
 
bool old: 1
 Email is seen, but unread.
 
bool read: 1
 Email is read.
 
bool replied: 1
 Email has been replied to.
 
bool superseded: 1
 Got superseded?
 
bool trash: 1
 Message is marked as trashed on disk (used by the maildir_trash option)
 
unsigned int zhours: 5
 Hours away from UTC.
 
unsigned int zminutes: 6
 Minutes away from UTC.
 
bool zoccident: 1
 True, if west of UTC, False if east.
 
time_t date_sent
 Time when the message was sent (UTC)
 
time_t received
 Time when the message was placed in the mailbox.
 
int lines
 How many lines in the body of this message?
 
size_t sequence
 Sequence number assigned on creation.
 
struct Envelopeenv
 Envelope information.
 
struct Bodybody
 List of MIME parts.
 
char * path
 Path of Email (for local Mailboxes)
 
LOFF_T offset
 Where in the stream does this message begin?
 
struct TagList tags
 For drivers that support server tagging.
 
struct Notifynotify
 Notifications: NotifyEmail, EventEmail.
 
void * edata
 Driver-specific data.
 
bool active: 1
 Message is not to be removed.
 
bool changed: 1
 Email has been edited.
 
bool deleted: 1
 Email is deleted.
 
bool purge: 1
 Skip trash folder when deleting.
 
void(* edata_free )(void **ptr)
 
void * nm_edata
 Notmuch private data.
 
bool attach_del: 1
 Has an attachment marked for deletion.
 
bool attach_valid: 1
 true when the attachment count is valid
 
bool display_subject: 1
 Used for threading.
 
bool matched: 1
 Search matches this Email.
 
bool quasi_deleted: 1
 Deleted from neomutt, but not modified on disk.
 
bool recip_valid: 1
 Is_recipient is valid.
 
bool searched: 1
 Email has been searched.
 
bool subject_changed: 1
 Used for threading.
 
bool tagged: 1
 Email is tagged.
 
bool threaded: 1
 Used for threading.
 
int index
 The absolute (unsorted) message number.
 
int msgno
 Number displayed to the user.
 
const struct AttrColorattr_color
 Color-pair to use when displaying in the index.
 
int score
 Message score.
 
int vnum
 Virtual message number.
 
short attach_total
 Number of qualifying attachments in message, if attach_valid.
 
short recipient
 User_is_recipient()'s return value, cached.
 
struct MuttThreadthread
 Thread of Emails.
 
bool collapsed: 1
 Is this message part of a collapsed thread?
 
bool visible: 1
 Is this message part of the view?
 
bool limit_visited: 1
 Has the limit pattern been applied to this message?
 
size_t num_hidden
 Number of hidden messages in this view (only valid when collapsed is set)
 
char * tree
 Character string to print thread tree.
 

Detailed Description

The envelope/body of an email.

Definition at line 38 of file email.h.

Field Documentation

◆ security

SecurityFlags Email::security

bit 0-10: flags, bit 11,12: application, bit 13: traditional pgp See: ncrypt/lib.h pgplib.h, smime.h

Definition at line 43 of file email.h.

◆ expired

bool Email::expired

Already expired?

Definition at line 46 of file email.h.

◆ flagged

bool Email::flagged

Marked important?

Definition at line 47 of file email.h.

◆ mime

bool Email::mime

Has a MIME-Version header?

Definition at line 48 of file email.h.

◆ old

bool Email::old

Email is seen, but unread.

Definition at line 49 of file email.h.

◆ read

bool Email::read

Email is read.

Definition at line 50 of file email.h.

◆ replied

bool Email::replied

Email has been replied to.

Definition at line 51 of file email.h.

◆ superseded

bool Email::superseded

Got superseded?

Definition at line 52 of file email.h.

◆ trash

bool Email::trash

Message is marked as trashed on disk (used by the maildir_trash option)

Definition at line 53 of file email.h.

◆ zhours

unsigned int Email::zhours

Hours away from UTC.

Definition at line 56 of file email.h.

◆ zminutes

unsigned int Email::zminutes

Minutes away from UTC.

Definition at line 57 of file email.h.

◆ zoccident

bool Email::zoccident

True, if west of UTC, False if east.

Definition at line 58 of file email.h.

◆ date_sent

time_t Email::date_sent

Time when the message was sent (UTC)

Definition at line 60 of file email.h.

◆ received

time_t Email::received

Time when the message was placed in the mailbox.

Definition at line 61 of file email.h.

◆ lines

int Email::lines

How many lines in the body of this message?

Definition at line 62 of file email.h.

◆ sequence

size_t Email::sequence

Sequence number assigned on creation.

Definition at line 67 of file email.h.

◆ env

struct Envelope* Email::env

Envelope information.

Definition at line 68 of file email.h.

◆ body

struct Body* Email::body

List of MIME parts.

Definition at line 69 of file email.h.

◆ path

char* Email::path

Path of Email (for local Mailboxes)

Definition at line 70 of file email.h.

◆ offset

LOFF_T Email::offset

Where in the stream does this message begin?

Definition at line 71 of file email.h.

◆ tags

struct TagList Email::tags

For drivers that support server tagging.

Definition at line 72 of file email.h.

◆ notify

struct Notify* Email::notify

Notifications: NotifyEmail, EventEmail.

Definition at line 73 of file email.h.

◆ edata

void* Email::edata

Driver-specific data.

Definition at line 74 of file email.h.

◆ active

bool Email::active

Message is not to be removed.

Definition at line 76 of file email.h.

◆ changed

bool Email::changed

Email has been edited.

Definition at line 77 of file email.h.

◆ deleted

bool Email::deleted

Email is deleted.

Definition at line 78 of file email.h.

◆ purge

bool Email::purge

Skip trash folder when deleting.

Definition at line 79 of file email.h.

◆ edata_free

void(* Email::edata_free) (void **ptr)

Definition at line 90 of file email.h.

◆ nm_edata

void* Email::nm_edata

Notmuch private data.

Definition at line 93 of file email.h.

◆ attach_del

bool Email::attach_del

Has an attachment marked for deletion.

Definition at line 99 of file email.h.

◆ attach_valid

bool Email::attach_valid

true when the attachment count is valid

Definition at line 100 of file email.h.

◆ display_subject

bool Email::display_subject

Used for threading.

Definition at line 101 of file email.h.

◆ matched

bool Email::matched

Search matches this Email.

Definition at line 102 of file email.h.

◆ quasi_deleted

bool Email::quasi_deleted

Deleted from neomutt, but not modified on disk.

Definition at line 103 of file email.h.

◆ recip_valid

bool Email::recip_valid

Is_recipient is valid.

Definition at line 104 of file email.h.

◆ searched

bool Email::searched

Email has been searched.

Definition at line 105 of file email.h.

◆ subject_changed

bool Email::subject_changed

Used for threading.

Definition at line 106 of file email.h.

◆ tagged

bool Email::tagged

Email is tagged.

Definition at line 107 of file email.h.

◆ threaded

bool Email::threaded

Used for threading.

Definition at line 108 of file email.h.

◆ index

int Email::index

The absolute (unsorted) message number.

Definition at line 110 of file email.h.

◆ msgno

int Email::msgno

Number displayed to the user.

Definition at line 111 of file email.h.

◆ attr_color

const struct AttrColor* Email::attr_color

Color-pair to use when displaying in the index.

Definition at line 112 of file email.h.

◆ score

int Email::score

Message score.

Definition at line 113 of file email.h.

◆ vnum

int Email::vnum

Virtual message number.

Definition at line 114 of file email.h.

◆ attach_total

short Email::attach_total

Number of qualifying attachments in message, if attach_valid.

Definition at line 115 of file email.h.

◆ recipient

short Email::recipient

User_is_recipient()'s return value, cached.

Definition at line 116 of file email.h.

◆ thread

struct MuttThread* Email::thread

Thread of Emails.

Definition at line 119 of file email.h.

◆ collapsed

bool Email::collapsed

Is this message part of a collapsed thread?

Definition at line 120 of file email.h.

◆ visible

bool Email::visible

Is this message part of the view?

Definition at line 121 of file email.h.

◆ limit_visited

bool Email::limit_visited

Has the limit pattern been applied to this message?

Definition at line 122 of file email.h.

◆ num_hidden

size_t Email::num_hidden

Number of hidden messages in this view (only valid when collapsed is set)

Definition at line 123 of file email.h.

◆ tree

char* Email::tree

Character string to print thread tree.

Definition at line 125 of file email.h.


The documentation for this struct was generated from the following file: