#define MUTT_ACCT_SSL
Account uses SSL/TLS.
#define MUTT_ACCT_PASS
Password field has been set.
#define MUTT_ACCT_USER
User field has been set.
#define MUTT_ACCT_PORT
Port field has been set.
Structs that make up an email.
Convenience wrapper for the library headers.
size_t mutt_str_copy(char *dest, const char *src, size_t dsize)
Copy a string into a buffer (guaranteeing NUL-termination)
void account_to_url(struct ConnAccount *cac, struct Url *url)
Fill URL with info from account.
int account_from_url(struct ConnAccount *cac, const struct Url *url)
Fill ConnAccount with information from url.
ConnAccount object used by POP and IMAP.
@ MUTT_ACCT_TYPE_SMTP
Smtp Account.
@ MUTT_ACCT_TYPE_POP
Pop Account.
@ MUTT_ACCT_TYPE_NNTP
Nntp (Usenet) Account.
@ MUTT_ACCT_TYPE_IMAP
Imap Account.
Login details for a remote server.
char host[128]
Server to login to.
unsigned char type
Connection type, e.g. MUTT_ACCT_TYPE_IMAP.
MuttAccountFlags flags
Which fields are initialised, e.g. MUTT_ACCT_USER.
unsigned short port
Port to connect to.
A parsed URL proto://user:password@host:port/path?a=1&b=2
enum UrlScheme scheme
Scheme, e.g. U_SMTPS.
@ U_UNKNOWN
Url wasn't recognised.
@ U_NNTPS
Url is nntps://.
@ U_SMTPS
Url is smtps://.
@ U_IMAPS
Url is imaps://.