DeterministicESPAsyncWebServer v6.27.1
Zero-allocation, bounded-execution async HTTP server for ESP32
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 / 587 / 465
 
bool tls
 true = implicit TLS on connect (SMTPS); false = plaintext
 
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 55 of file smtp.h.

Member Data Documentation

◆ host

const char* SmtpConfig::host

server hostname (also the TLS SNI name)

Definition at line 57 of file smtp.h.

◆ port

uint16_t SmtpConfig::port

25 / 587 / 465

Definition at line 58 of file smtp.h.

◆ tls

bool SmtpConfig::tls

true = implicit TLS on connect (SMTPS); false = plaintext

Definition at line 59 of file smtp.h.

◆ user

const char* SmtpConfig::user

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

Definition at line 60 of file smtp.h.

◆ pass

const char* SmtpConfig::pass

AUTH LOGIN password.

Definition at line 61 of file smtp.h.

◆ from

const char* SmtpConfig::from

envelope sender + From: header address

Definition at line 62 of file smtp.h.

◆ helo

const char* SmtpConfig::helo

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

Definition at line 63 of file smtp.h.


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