-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
standardize email address from PIMS system
- Loading branch information
1 parent
5cb5166
commit d864d3f
Showing
3 changed files
with
3 additions
and
2 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 |
---|---|---|
|
@@ -27,6 +27,7 @@ const config = { | |
}, | ||
contact: { | ||
toEmail: process.env.CONTACT_EMAIL, | ||
systemEmail: 'PIMS System <[email protected]>', | ||
}, | ||
notificationTemplate: { | ||
title: 'PIMS', | ||
|
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 |
---|---|---|
|
@@ -31,7 +31,7 @@ export const submitErrorReport = async (req: Request, res: Response) => { | |
const email: IEmail = { | ||
to: [config.contact.toEmail], | ||
cc: [req.user.email], | ||
from: '[email protected]', // Made up for this purpose. | ||
from: config.contact.systemEmail, // Made up for this purpose. | ||
bodyType: EmailBody.Html, | ||
subject: 'PIMS Error Report Submission', | ||
body: emailBody, | ||
|
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 |
---|---|---|
|
@@ -67,7 +67,7 @@ const failedEmailCheck = async () => { | |
const email: IEmail = { | ||
to: [config.contact.toEmail], | ||
cc: [], | ||
from: 'PIMS System <[email protected]>', // Made up for this purpose. | ||
from: config.contact.systemEmail, // Made up for this purpose. | ||
bodyType: EmailBody.Html, | ||
subject: 'PIMS Notifications Warning', | ||
body: emailBody, | ||
|