25#ifndef MUTT_SEND_SEND_H
26#define MUTT_SEND_SEND_H
68int mutt_edit_address(
struct AddressList *al,
const char *field,
bool expand_aliases);
void mutt_make_misc_reply_headers(struct Envelope *env, struct Envelope *env_cur, struct ConfigSubset *sub)
Set subject for a reply.
void mutt_encode_descriptions(struct Body *b, bool recurse, struct ConfigSubset *sub)
RFC2047 encode the content-descriptions.
void mutt_make_attribution_intro(struct Email *e, FILE *fp_out, struct ConfigSubset *sub)
Add "on DATE, PERSON wrote" header.
int mutt_edit_address(struct AddressList *al, const char *field, bool expand_aliases)
Edit an email address.
void mutt_forward_intro(struct Email *e, FILE *fp, struct ConfigSubset *sub)
Add the "start of forwarded message" text.
void mutt_make_forward_subject(struct Envelope *env, struct Email *e, struct ConfigSubset *sub)
Create a subject for a forwarded email.
void mutt_fix_reply_recipients(struct Envelope *env, struct ConfigSubset *sub)
Remove duplicate recipients.
int mutt_resend_message(FILE *fp, struct Mailbox *m, struct Email *e_cur, struct ConfigSubset *sub)
Resend an email.
int mutt_fetch_recips(struct Envelope *out, struct Envelope *in, SendFlags flags, struct ConfigSubset *sub)
Generate recpients for a reply email.
struct Address * mutt_default_from(struct ConfigSubset *sub)
Get a default 'from' Address.
bool mutt_send_list_unsubscribe(struct Mailbox *m, struct Email *e)
Send a mailing-list unsubscription email.
void mutt_forward_trailer(struct Email *e, FILE *fp, struct ConfigSubset *sub)
Add a "end of forwarded message" text.
int mutt_send_message(SendFlags flags, struct Email *e_templ, const char *tempfile, struct Mailbox *m, struct EmailArray *ea, struct ConfigSubset *sub)
Send an email.
bool mutt_send_list_subscribe(struct Mailbox *m, struct Email *e)
Send a mailing-list subscription email.
SendFlag
Flags for mutt_send_message(), e.g.
@ SEND_RESEND
Reply using the current email as a template.
@ SEND_CONSUMED_STDIN
stdin has been read; don't read it twice
@ SEND_KEY
Mail a PGP public key.
@ SEND_GROUP_CHAT_REPLY
Reply to all recipients preserving To/Cc.
@ SEND_NO_FREE_HEADER
Used by the -E flag.
@ SEND_REPLY
Reply to sender.
@ SEND_NONE
No flags are set.
@ SEND_BATCH
Send email in batch mode (without user interaction)
@ SEND_FORWARD
Forward email.
@ SEND_GROUP_REPLY
Reply to all.
@ SEND_CLI_CRYPTO
Enable message security in modes that by default don't enable it.
@ SEND_REVIEW_TO
Allow the user to edit the To field.
@ SEND_DRAFT_FILE
Used by the -H flag.
@ SEND_TO_SENDER
Compose new email to sender.
@ SEND_LIST_REPLY
Reply to mailing list.
@ SEND_NEWS
Reply to a news article.
@ SEND_POSTPONED_FCC
Used by mutt_get_postponed() to signal that the Mutt-Fcc header field was present.
@ SEND_POSTPONED
Recall a postponed email.
void mutt_make_attribution_trailer(struct Email *e, FILE *fp_out, struct ConfigSubset *sub)
Add suffix to replied email text.
void mutt_set_followup_to(struct Envelope *env, struct ConfigSubset *sub)
Set followup-to field.
void mutt_add_to_reference_headers(struct Envelope *env, struct Envelope *env_cur, struct ConfigSubset *sub)
Generate references for a reply email.
A set of inherited config items.
The envelope/body of an email.
struct ConfigSubset * sub
Inherited config items.