smtp_client_misc.h
error_t smtpClientFormatMailHeader(SmtpClientContext *context, const SmtpMailAddr *from, const SmtpMailAddr *recipients, uint_t numRecipients, const char_t *subject)
Format email header.
Definition: smtp_client_misc.c:345
void smtpClientChangeState(SmtpClientContext *context, SmtpClientState newState)
Update SMTP client state.
Definition: smtp_client_misc.c:54
error_t smtpClientFormatCommand(SmtpClientContext *context, const char_t *command, const char_t *argument)
Format SMTP command.
Definition: smtp_client_misc.c:196
error_t smtpClientFormatMultipartHeader(SmtpClientContext *context, const char_t *filename, const char_t *contentType, const char_t *contentTransferEncoding, bool_t last)
Format multipart header.
Definition: smtp_client_misc.c:505
SMTP client (Simple Mail Transfer Protocol)
error_t smtpClientParseEhloReply(SmtpClientContext *context, char_t *replyLine)
Parse EHLO response.
Definition: smtp_client_misc.c:264
error_t(* SmtpClientReplyCallback)(SmtpClientContext *context, char_t *replyLine)
Multiline reply parsing callback function.
Definition: smtp_client.h:219
error_t smtpClientSendCommand(SmtpClientContext *context, SmtpClientReplyCallback callback)
Send SMTP command and wait for a reply.
Definition: smtp_client_misc.c:72
TCP/IP stack core.
error_t smtpClientCheckTimeout(SmtpClientContext *context)
Determine whether a timeout error has occurred.
Definition: smtp_client_misc.c:590