mikroSDK Reference Manual
smtp_client_auth.h
Go to the documentation of this file.
1
31#ifndef _SMTP_CLIENT_AUTH_H
32#define _SMTP_CLIENT_AUTH_H
33
34//Dependencies
35#include "core/net.h"
36#include "smtp/smtp_client.h"
37
38//C++ guard
39#ifdef __cplusplus
40extern "C" {
41#endif
42
43//SMTP client related functions
44error_t smtpClientLoginAuth(SmtpClientContext *context,
45 const char_t *username, const char_t *password);
46
47error_t smtpClientPlainAuth(SmtpClientContext *context,
48 const char_t *username, const char_t *password);
49
50error_t smtpClientCramMd5Auth(SmtpClientContext *context,
51 const char_t *username, const char_t *password);
52
53//C++ guard
54#ifdef __cplusplus
55}
56#endif
57
58#endif
error_t
Error codes.
Definition error.h:43
TCP/IP stack core.
SMTP client (Simple Mail Transfer Protocol)