ProtoCore v0.0.1
Deterministic, zero-heap network stack for embedded targets
Loading...
Searching...
No Matches
SmtpConfig Struct Reference

Server address + credentials for one send. Addresses are bare (no angle brackets). More...

#include <smtp.h>

Public Attributes

const char * host
 server hostname (also the TLS SNI name)
 
uint16_t port
 25 (plain) / 587 (STARTTLS) / 465 (implicit TLS)
 
SmtpSecurity security
 how to secure the connection
 
const char * user
 AUTH LOGIN username (null or empty => skip AUTH)
 
const char * pass
 AUTH LOGIN password.
 
const char * from
 envelope sender + From: header address
 
const char * helo
 EHLO domain to announce (null => "esp32")
 

Detailed Description

Server address + credentials for one send. Addresses are bare (no angle brackets).

Definition at line 74 of file smtp.h.

Member Data Documentation

◆ host

const char* SmtpConfig::host

server hostname (also the TLS SNI name)

Definition at line 76 of file smtp.h.

◆ port

uint16_t SmtpConfig::port

25 (plain) / 587 (STARTTLS) / 465 (implicit TLS)

Definition at line 77 of file smtp.h.

◆ security

SmtpSecurity SmtpConfig::security

how to secure the connection

Definition at line 78 of file smtp.h.

◆ user

const char* SmtpConfig::user

AUTH LOGIN username (null or empty => skip AUTH)

Definition at line 79 of file smtp.h.

◆ pass

const char* SmtpConfig::pass

AUTH LOGIN password.

Definition at line 80 of file smtp.h.

◆ from

const char* SmtpConfig::from

envelope sender + From: header address

Definition at line 81 of file smtp.h.

◆ helo

const char* SmtpConfig::helo

EHLO domain to announce (null => "esp32")

Definition at line 82 of file smtp.h.


The documentation for this struct was generated from the following file: