31#ifndef _SMTP_CLIENT_TRANSPORT_H
32#define _SMTP_CLIENT_TRANSPORT_H
44error_t smtpClientOpenConnection(SmtpClientContext *context);
46error_t smtpClientEstablishConnection(SmtpClientContext *context,
47 const IpAddr *serverIpAddr, uint16_t serverPort);
49error_t smtpClientOpenSecureConnection(SmtpClientContext *context);
50error_t smtpClientEstablishSecureConnection(SmtpClientContext *context);
52error_t smtpClientShutdownConnection(SmtpClientContext *context);
53void smtpClientCloseConnection(SmtpClientContext *context);
55error_t smtpClientSendData(SmtpClientContext *context,
const void *data,
56 size_t length,
size_t *written, uint_t flags);
58error_t smtpClientReceiveData(SmtpClientContext *context,
void *data,
59 size_t size,
size_t *received, uint_t flags);
error_t
Error codes.
Definition error.h:43
SMTP client (Simple Mail Transfer Protocol)
IP network address.
Definition ip.h:72