forked from typpo/textbelt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add error message to "Communication with SMS gateway failed"
Issue typpo#143
- Loading branch information
Showing
2 changed files
with
3 additions
and
3 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 |
---|---|---|
|
@@ -5,7 +5,7 @@ const SENDMAIL_TRANSPORT = { | |
path: '/usr/sbin/sendmail', | ||
}; | ||
|
||
const EXAMPLE_SMTP_TRANSPORT = { | ||
const SMTP_TRANSPORT = { | ||
// This is a Nodemailer transport. It can either be an SMTP server or a | ||
// well-known service such as Sengrid, Mailgun, Gmail, etc. | ||
// See https://nodemailer.com/transports/ and https://nodemailer.com/smtp/well-known/ | ||
|
@@ -22,7 +22,7 @@ const EXAMPLE_SMTP_TRANSPORT = { | |
}; | ||
|
||
module.exports = { | ||
transport: SENDMAIL_TRANSPORT, | ||
transport: SMTP_TRANSPORT, | ||
mailOptions: { | ||
from: '"Jane Doe" <[email protected]>', | ||
}, | ||
|
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