proteindf_bridge.mail module

class proteindf_bridge.mail.Mail[source]

Bases: object

NOTE: smtp_password is stored in plaintext by save_config()/ load_config() (a plain INI file). Restrict the config file’s permissions (e.g. chmod 600) yourself; this class performs no encryption or permission management on the password.

property charset
property from_address
load_config(path)[source]
save_config(path)[source]
send()[source]
property smtp_account
property smtp_password
property smtp_port
property smtp_server
property subject
property text
property to_address
property use_SSL