SMTP functions. More...

Modules

Types
SMTP data types.

Functions

gos_result_t gos_smtp_send (const char *to_address, const char *subject, const char *msg)
Send email to SMTP server. More...
gos_result_t gos_smtp_send_with_config (const gos_smtp_config_t *config)
Send email to SMTP server with configuration. More...

Detailed Description

SMTP functions.

Function Documentation

gos_smtp_send()

gos_result_t gos_smtp_send ( const char * to_address,
const char * subject,
const char * msg
)

Send email to SMTP server.

See Gecko OS 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
gos_result_t of API call

gos_smtp_send_with_config()

gos_result_t gos_smtp_send_with_config ( const gos_smtp_config_t * config )

Send email to SMTP server with configuration.

See Gecko OS Command API documentation: smtp_send .

Parameters
[in] config See gos_smtp_config_t
Returns
gos_result_t of API call