smtp-client
SMTP Client C Library
|
Data Fields | |
struct smtp * | smtp |
const char * | subject |
char * | body |
char * | server |
char * | port |
char * | user |
char * | pass |
char * | from |
enum smtp_connection_security | connection_security |
enum smtp_authentication_method | auth_method |
enum smtp_flag | smtp_flags |
struct mailx_address * | address_list |
size_t | num_address |
struct mailx_attachment * | attachment_list |
size_t | num_attachment |
The mailx context structure containing the parameters for setting up the SMTP connection and sending the email.
struct mailx_address* mailx::address_list |
List of email addresses to send to.
Definition at line 123 of file mailx.c.
Referenced by mailx_address_append(), and mailx_send().
struct mailx_attachment* mailx::attachment_list |
List of files to attach in the email.
Definition at line 133 of file mailx.c.
Referenced by mailx_append_attachment(), and mailx_send().
enum smtp_authentication_method mailx::auth_method |
SMTP user account authentication method.
Definition at line 111 of file mailx.c.
Referenced by mailx_init_default_values(), mailx_parse_smtp_option(), and mailx_send().
char* mailx::body |
Email body text.
Definition at line 76 of file mailx.c.
Referenced by mailx_free(), mailx_send(), and main().
enum smtp_connection_security mailx::connection_security |
Determine if using a TLS encrypted connection or plain socket.
Definition at line 106 of file mailx.c.
Referenced by mailx_init_default_values(), mailx_parse_smtp_option(), and mailx_send().
char* mailx::from |
From email address or name.
Definition at line 101 of file mailx.c.
Referenced by mailx_free(), mailx_parse_smtp_option(), and main().
size_t mailx::num_address |
Number of email addresses in address_list.
Definition at line 128 of file mailx.c.
Referenced by mailx_address_append(), and mailx_send().
size_t mailx::num_attachment |
Number of attachments in attachment_list.
Definition at line 138 of file mailx.c.
Referenced by mailx_append_attachment(), and mailx_send().
char* mailx::pass |
SMTP account password used for authenticating.
Definition at line 96 of file mailx.c.
Referenced by mailx_free(), mailx_parse_smtp_option(), and mailx_send().
char* mailx::port |
SMTP server port number.
Definition at line 86 of file mailx.c.
Referenced by mailx_free(), mailx_parse_smtp_option(), mailx_send(), and main().
char* mailx::server |
SMTP server name or IP address.
Definition at line 81 of file mailx.c.
Referenced by mailx_free(), mailx_parse_smtp_option(), mailx_send(), and main().
struct smtp* mailx::smtp |
enum smtp_flag mailx::smtp_flags |
Miscellaneous control flags for smtp-lib.
See smtp_flag for more details.
Definition at line 118 of file mailx.c.
Referenced by mailx_parse_smtp_option(), and mailx_send().
const char* mailx::subject |
Email subject line.
Definition at line 71 of file mailx.c.
Referenced by mailx_init_default_values(), mailx_send(), and main().
char* mailx::user |
SMTP account user name used for authenticating.
Definition at line 91 of file mailx.c.
Referenced by mailx_free(), mailx_parse_smtp_option(), and mailx_send().