forked from Github-Mirrors/canaille
tests: dynamic smtp configuration
This commit is contained in:
parent
2a7dfa5ad8
commit
c563646bfe
1 changed files with 2 additions and 1 deletions
|
@ -112,7 +112,8 @@ def configuration(smtpd):
|
|||
"SMTP": {
|
||||
"HOST": smtpd.hostname,
|
||||
"PORT": smtpd.port,
|
||||
"TLS": True,
|
||||
"TLS": smtpd.config.use_starttls,
|
||||
"SSL": smtpd.config.use_ssl,
|
||||
"LOGIN": smtpd.config.login_username,
|
||||
"PASSWORD": smtpd.config.login_password,
|
||||
"FROM_ADDR": "admin@mydomain.tld",
|
||||
|
|
Loading…
Reference in a new issue