NeoMutt  2018-07-16 +2225-8687db
Teaching an old dog new tricks
DOXYGEN
Email Struct Reference

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

#include "email.h"

+ Inheritance diagram for Email:

Data Fields

SecurityFlags security
 bit 0-8: flags, bit 9,10: application. More...
 
bool mime: 1
 Has a MIME-Version header? More...
 
bool flagged: 1
 Marked important? More...
 
bool tagged: 1
 Email is tagged. More...
 
bool deleted: 1
 Email is deleted. More...
 
bool purge: 1
 Skip trash folder when deleting. More...
 
bool quasi_deleted: 1
 Deleted from neomutt, but not modified on disk. More...
 
bool changed: 1
 Email has been edited. More...
 
bool attach_del: 1
 Has an attachment marked for deletion. More...
 
bool old: 1
 Email is seen, but unread. More...
 
bool read: 1
 Email is read. More...
 
bool expired: 1
 Already expired? More...
 
bool superseded: 1
 Got superseded? More...
 
bool replied: 1
 Email has been replied to. More...
 
bool subject_changed: 1
 Used for threading. More...
 
bool threaded: 1
 Used for threading. More...
 
bool display_subject: 1
 Used for threading. More...
 
bool recip_valid: 1
 Is_recipient is valid. More...
 
bool active: 1
 Message is not to be removed. More...
 
bool trash: 1
 Message is marked as trashed on disk (used by the maildir_trash option) More...
 
unsigned int zhours: 5
 Hours away from UTC. More...
 
unsigned int zminutes: 6
 Minutes away from UTC. More...
 
bool zoccident: 1
 True, if west of UTC, False if east. More...
 
bool searched: 1
 Email has been searched. More...
 
bool matched: 1
 Search matches this Email. More...
 
bool attach_valid: 1
 true when the attachment count is valid More...
 
bool collapsed: 1
 Is this message part of a collapsed thread? More...
 
bool limited: 1
 Is this message in a limited view? More...
 
size_t num_hidden
 Number of hidden messages in this view. More...
 
short recipient
 User_is_recipient()'s return value, cached. More...
 
int pair
 Color-pair to use when displaying in the index. More...
 
time_t date_sent
 Time when the message was sent (UTC) More...
 
time_t received
 Time when the message was placed in the mailbox. More...
 
LOFF_T offset
 Where in the stream does this message begin? More...
 
int lines
 How many lines in the body of this message? More...
 
int index
 The absolute (unsorted) message number. More...
 
int msgno
 Number displayed to the user. More...
 
int vnum
 Virtual message number. More...
 
int score
 Message score. More...
 
struct Envelopeenv
 Envelope information. More...
 
struct Bodycontent
 List of MIME parts. More...
 
char * path
 Path of Email (for local Mailboxes) More...
 
char * tree
 Character string to print thread tree. More...
 
struct MuttThreadthread
 Thread of Emails. More...
 
short attach_total
 Number of qualifying attachments in message, if attach_valid. More...
 
int refno
 Message number on server. More...
 
struct TagHead tags
 For drivers that support server tagging. More...
 
char * maildir_flags
 Unknown maildir flags. More...
 
void * edata
 Driver-specific data. More...
 
void(* free_edata )(void **)
 Driver-specific data free function. More...
 

Detailed Description

The envelope/body of an email.

Definition at line 37 of file email.h.

Field Documentation

SecurityFlags Email::security

bit 0-8: flags, bit 9,10: application.

See: ncrypt/ncrypt.h pgplib.h, smime.h

Definition at line 39 of file email.h.

bool Email::mime

Has a MIME-Version header?

Definition at line 42 of file email.h.

bool Email::flagged

Marked important?

Definition at line 43 of file email.h.

bool Email::tagged

Email is tagged.

Definition at line 44 of file email.h.

bool Email::deleted

Email is deleted.

Definition at line 45 of file email.h.

bool Email::purge

Skip trash folder when deleting.

Definition at line 46 of file email.h.

bool Email::quasi_deleted

Deleted from neomutt, but not modified on disk.

Definition at line 47 of file email.h.

bool Email::changed

Email has been edited.

Definition at line 48 of file email.h.

bool Email::attach_del

Has an attachment marked for deletion.

Definition at line 49 of file email.h.

bool Email::old

Email is seen, but unread.

Definition at line 50 of file email.h.

bool Email::read

Email is read.

Definition at line 51 of file email.h.

bool Email::expired

Already expired?

Definition at line 52 of file email.h.

bool Email::superseded

Got superseded?

Definition at line 53 of file email.h.

bool Email::replied

Email has been replied to.

Definition at line 54 of file email.h.

bool Email::subject_changed

Used for threading.

Definition at line 55 of file email.h.

bool Email::threaded

Used for threading.

Definition at line 56 of file email.h.

bool Email::display_subject

Used for threading.

Definition at line 57 of file email.h.

bool Email::recip_valid

Is_recipient is valid.

Definition at line 58 of file email.h.

bool Email::active

Message is not to be removed.

Definition at line 59 of file email.h.

bool Email::trash

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

Definition at line 60 of file email.h.

unsigned int Email::zhours

Hours away from UTC.

Definition at line 63 of file email.h.

unsigned int Email::zminutes

Minutes away from UTC.

Definition at line 64 of file email.h.

bool Email::zoccident

True, if west of UTC, False if east.

Definition at line 65 of file email.h.

bool Email::searched

Email has been searched.

Definition at line 67 of file email.h.

bool Email::matched

Search matches this Email.

Definition at line 68 of file email.h.

bool Email::attach_valid

true when the attachment count is valid

Definition at line 70 of file email.h.

bool Email::collapsed

Is this message part of a collapsed thread?

Definition at line 73 of file email.h.

bool Email::limited

Is this message in a limited view?

Definition at line 74 of file email.h.

size_t Email::num_hidden

Number of hidden messages in this view.

Definition at line 75 of file email.h.

short Email::recipient

User_is_recipient()'s return value, cached.

Definition at line 77 of file email.h.

int Email::pair

Color-pair to use when displaying in the index.

Definition at line 79 of file email.h.

time_t Email::date_sent

Time when the message was sent (UTC)

Definition at line 81 of file email.h.

time_t Email::received

Time when the message was placed in the mailbox.

Definition at line 82 of file email.h.

LOFF_T Email::offset

Where in the stream does this message begin?

Definition at line 83 of file email.h.

int Email::lines

How many lines in the body of this message?

Definition at line 84 of file email.h.

int Email::index

The absolute (unsorted) message number.

Definition at line 85 of file email.h.

int Email::msgno

Number displayed to the user.

Definition at line 86 of file email.h.

int Email::vnum

Virtual message number.

Definition at line 87 of file email.h.

int Email::score

Message score.

Definition at line 88 of file email.h.

struct Envelope* Email::env

Envelope information.

Definition at line 89 of file email.h.

struct Body* Email::content

List of MIME parts.

Definition at line 90 of file email.h.

char* Email::path

Path of Email (for local Mailboxes)

Definition at line 91 of file email.h.

char* Email::tree

Character string to print thread tree.

Definition at line 93 of file email.h.

struct MuttThread* Email::thread

Thread of Emails.

Definition at line 94 of file email.h.

short Email::attach_total

Number of qualifying attachments in message, if attach_valid.

Definition at line 96 of file email.h.

int Email::refno

Message number on server.

Definition at line 103 of file email.h.

struct TagHead Email::tags

For drivers that support server tagging.

Definition at line 106 of file email.h.

char* Email::maildir_flags

Unknown maildir flags.

Definition at line 108 of file email.h.

void* Email::edata

Driver-specific data.

Definition at line 110 of file email.h.

void(* Email::free_edata) (void **)

Driver-specific data free function.

Definition at line 111 of file email.h.


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