SMTP
SMTP functions. More...
Modules | |
Types | |
SMTP data types. | |
Functions | |
zos_result_t | zn_smtp_send (const char *to_address, const char *subject, const char *msg) |
Send email to SMTP server. More... | |
zos_result_t | zn_smtp_send_with_config (const zos_smtp_config_t *config) |
Send email to SMTP server with configuration. More... | |
Detailed Description
SMTP functions.
Function Documentation
zos_result_t zn_smtp_send | ( | const char * | to_address, |
const char * | subject, |
||
const char * | msg |
||
) |
Send email to SMTP server.
See ZentriOS Command API documentation: smtp_send.
- Parameters
-
[in] to_address
Email address to send message [in] subject
Subject of email [in] msg
Content of email
- Returns
- zos_result_t of API call
zos_result_t zn_smtp_send_with_config | ( | const zos_smtp_config_t * | config | ) |
Send email to SMTP server with configuration.
See ZentriOS Command API documentation: smtp_send.
- Parameters
-
[in] config
See zos_smtp_config_t
- Returns
- zos_result_t of API call