-
-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable working TLS to smtp.office365.com (#166)
* Enable working TLS to smtp.office365.com * added ssl and config options * more details on SMTP errors, updated SMTP example to Gmail TLS Co-authored-by: Henning Merklinger <[email protected]>
- Loading branch information
1 parent
05f3c6e
commit b643c0a
Showing
5 changed files
with
16 additions
and
8 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,10 +21,11 @@ services: | |
|
||
- SMTP=false ## true = enable mail notifications via smtp | ||
- SMTP_HOST=smtp.gmail.com ## smtp Server - smtp.gmail.com for google | ||
- SMTP_PORT=465 ## smtp Server Port - 465 for google | ||
- SMTP_PORT=587 ## smtp Server Port - 587 for TLS, 465 for SSL, 25 for unsecured | ||
- [email protected] ## smtp Login - your EMail for google | ||
- SMTP_PASSWORD= ## smtp Login Password - your Login PW for google | ||
- SMTP_TLS=true ## enable TLS - true for google and most smtp servers | ||
- SMTP_TLS=true ## enable TLS | ||
- SMTP_SSL=false ## enable SSL | ||
- [email protected] ## sender adress - same as Login for google and most smtp servers | ||
- [email protected] ## recipient for notifications - can be the same as sender | ||
#-SMTP_SUBJECT= ## Subject and Body options are optional. | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,12 +29,13 @@ Username = | |
## Subject and Body options are optional. | ||
## Subject and Body options can use variables as described below | ||
## The Body option is interpreted as HTML | ||
enabled = true | ||
enabled = false | ||
Host = smtp.gmail.com | ||
Port = 465 | ||
Port = 587 | ||
Username = [email protected] | ||
Password = | ||
TLS = true | ||
TLS = true | ||
SSL = false | ||
Sender = [email protected] | ||
Recipient = [email protected] | ||
# cron = | ||
|
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
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