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_addressEmail address to send message
[in]subjectSubject of email
[in]msgContent 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]configSee zos_smtp_config_t
Returns
zos_result_t of API call