Configuration for sending SMTP message. More...
Data Fields | |
const char * | to_address |
Email address to send message. | |
const char * | subject |
The subject of the email. | |
uint32_t | content_length |
The length of the email message. More... | |
const uint8_t * | content |
Buffer containing message content. More... | |
zos_smtp_content_reader_t | content_reader |
Message content read callback, zos_smtp_content_reader_t. | |
void * | user |
User specified argument to pass to zos_smtp_content_reader_t. | |
Detailed Description
Configuration for sending SMTP message.
Field Documentation
const uint8_t* zos_smtp_config_t::content |
Buffer containing message content.
- Note
- Set this to NULL to used the content_reader callback
uint32_t zos_smtp_config_t::content_length |
The length of the email message.
- Note
- To send arbitrary length, set this to 0, content to NULL and specify the content_reader