...
Code Block | ||
---|---|---|
| ||
NET_SOCK_ID SMTPc_Connect (CPU_CHAR *p_host_name, CPU_INT16U port, CPU_CHAR *p_username, CPU_CHAR *p_pwd, NET_APP_SOCK_SECURE_CFG *p_secure_cfg, SMTPc_ERR *p_err); |
Arguments
p_host_name Pointer to host name of the SMTP server to contact. Can be also an IP address.
...
p_secure_cfg Pointer to the secure configuration (TLS/SSL):
DEF_NULL, if no security enabled.
...
.
p_err Pointer to variable that will receive the return error code from this function.
...