Authenticate an SMTP connection. More...
Functions | |
| static int | smtp_auth_oauth (struct SmtpAccountData *adata, const char *method) |
| Authenticate an SMTP connection using OAUTHBEARER - Implements SmtpAuth::authenticate() -. | |
| static int | smtp_auth_xoauth2 (struct SmtpAccountData *adata, const char *method) |
| Authenticate an SMTP connection using XOAUTH2 - Implements SmtpAuth::authenticate() -. | |
| static int | smtp_auth_plain (struct SmtpAccountData *adata, const char *method) |
| Authenticate using plain text - Implements SmtpAuth::authenticate() -. | |
| static int | smtp_auth_login (struct SmtpAccountData *adata, const char *method) |
| Authenticate using plain text - Implements SmtpAuth::authenticate() -. | |
Authenticate an SMTP connection.
| adata | Smtp Account data |
| method | Use this named method, or any available method if NULL |
| num | Result, e.g. SMTP_AUTH_SUCCESS |
|
static |
Authenticate an SMTP connection using OAUTHBEARER - Implements SmtpAuth::authenticate() -.
| adata | SMTP Account data |
| method | Authentication method (not used) |
| num | Result, e.g. SMTP_AUTH_SUCCESS |
Definition at line 807 of file smtp.c.
|
static |
Authenticate an SMTP connection using XOAUTH2 - Implements SmtpAuth::authenticate() -.
| adata | SMTP Account data |
| method | Authentication method (not used) |
| num | Result, e.g. SMTP_AUTH_SUCCESS |
Definition at line 818 of file smtp.c.
|
static |
Authenticate using plain text - Implements SmtpAuth::authenticate() -.
| adata | SMTP Account data |
| method | Authentication method (not used) |
| 0 | Success |
| <0 | Error, e.g. SMTP_AUTH_FAIL |
Definition at line 832 of file smtp.c.
|
static |
Authenticate using plain text - Implements SmtpAuth::authenticate() -.
| adata | SMTP Account data |
| method | Authentication method (not used) |
| 0 | Success |
| <0 | Error, e.g. SMTP_AUTH_FAIL |
Definition at line 872 of file smtp.c.