Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Letters.ConfigSourceConfiguration providing needed information to connect to the SMTP server.
Build a configuration record for the SMTP server
This is a helper to build a configuration.
username username needed for the login
password user's password for the login
hostname hostname of the SMTP server
with_starttls True if start unencrypted connection and then "promote"
Add a port to configuration record
This is a helper function to allow builder pattern.
Creates a new config with the provided optional port and old config. The port is used to connect the SMTP server or None for using default port
Tells letters to use the specified certificate to verify the peer.
The file may contain multiple CA certificates. The certificate(s) must be in PEM format.
Creates a new config with the provided CA cert and old config.
Tells letters to use the specified certificate director to verify the peer.
Each certificate in the folder must be in PEM format.
Creates a new config with the provided CA cert dir and old config.