53 bool need_hostname =
false;
57 mutt_error(
_(
"Mixmaster doesn't accept Cc or Bcc headers"));
82 mutt_error(
_(
"Please set the hostname variable to a proper value when using mixmaster"));
125 fprintf(stderr,
_(
"Error sending message, child exited %d\n"), i);
void mutt_addrlist_qualify(struct AddressList *al, const char *host)
Expand local names in an Address list using a hostname.
size_t mutt_buffer_addstr(struct Buffer *buf, const char *s)
Add a string to a Buffer.
int mutt_buffer_printf(struct Buffer *buf, const char *fmt,...)
Format a string overwriting a Buffer.
static const char * mutt_buffer_string(const struct Buffer *buf)
Convert a buffer to a const char * "string".
const char * cs_subset_string(const struct ConfigSubset *sub, const char *name)
Get a string config item by name.
Convenience wrapper for the config headers.
Convenience wrapper for the core headers.
int mutt_any_key_to_continue(const char *s)
Prompt the user to 'press any key' and wait.
void mutt_endwin(void)
Shutdown curses.
Structs that make up an email.
void mutt_buffer_quote_filename(struct Buffer *buf, const char *filename, bool add_outer)
Quote a filename to survive the shell's quoting rules.
bool OptNoCurses
(pseudo) when sending in batch mode
Convenience wrapper for the gui headers.
int mix_send_message(struct ListHead *chain, const char *tempfile)
Send an email via Mixmaster.
int mix_check_message(struct Email *e)
Safety-check the message before passing it to mixmaster.
Convenience wrapper for the library headers.
void mutt_buffer_pool_release(struct Buffer **pbuf)
Free a Buffer from the pool.
struct Buffer * mutt_buffer_pool_get(void)
Get a Buffer from the pool.
Prototypes for many functions.
int mutt_system(const char *cmd)
Run an external command.
#define TAILQ_FOREACH(var, head, field)
#define STAILQ_FOREACH(var, head, field)
#define TAILQ_EMPTY(head)
Convenience wrapper for the send headers.
const char * mutt_fqdn(bool may_hide_host, const struct ConfigSubset *sub)
Get the Fully-Qualified Domain Name.
char * mailbox
Mailbox and host address.
String manipulation buffer.
char * data
Pointer to data.
The envelope/body of an email.
struct Envelope * env
Envelope information.
struct AddressList to
Email's 'To' list.
struct AddressList reply_to
Email's 'reply-to'.
struct AddressList mail_followup_to
Email's 'mail-followup-to'.
struct AddressList cc
Email's 'Cc' list.
struct AddressList bcc
Email's 'Bcc' list.
Container for Accounts, Notifications.
struct ConfigSubset * sub
Inherited config items.