Skip to content

Commit

Permalink
Add microsoft365 email sender
Browse files Browse the repository at this point in the history
  • Loading branch information
minottic authored Dec 8, 2022
1 parent f27eeb1 commit a79b9e4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion backend
9 changes: 3 additions & 6 deletions helm_configs/backend/config.local.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,15 @@ module.exports = {
jobCancel: "Cancelled"
},
smtpSettings: {
host: "mail.ethz.ch",
port: 587,
secure: false,
auth: JSON.parse(process.env.MAIL_AUTH)
auth: JSON.parse(process.env.MAIL_AUTH),
aadEndpoint: "https://login.microsoftonline.com",
graphEndpoint: "https://graph.microsoft.com"
},
expressSessionSecret: "asecret",
smtpMessage: {
from: "[email protected]",
replyTo: "[email protected]",
to: undefined,
subject: "[SciCat " + process.env.ENV + "]",
text: undefined // can also set html key and this will override this
},
queue: "rabbitmq",
logbook: {
Expand Down

0 comments on commit a79b9e4

Please sign in to comment.