Last active
October 21, 2019 20:12
-
-
Save Schrank/9b60f5262b6a99292fa171ea528ef191 to your computer and use it in GitHub Desktop.
Smyfony4 Swift SMTP configuration for Uberspace
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MAILER_PASSWORD=12345 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# e.g. in config/packages/swiftmailer.yaml | |
swiftmailer: | |
delivery_addresses: ['[email protected]'] | |
delivery_whitelist: | |
# all email addresses matching these regexes will be delivered | |
# like normal, as well as being sent to [email protected] | |
- '/@example\.de$/' | |
transport: smtp | |
username: USERNAME | |
password: '%env(resolve:MAILER_PASSWORD)%' | |
host: SERVER.uberspace.de | |
port: 587 | |
timeout: 30 | |
local_domain: 'uber.space' | |
encryption: tls | |
auth_mode: login | |
sender_address: '[email protected]' | |
antiflood: | |
threshold: 99 | |
sleep: 0 | |
logging: true | |
spool: | |
type: memory |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment