Merge pull request #8707 from edemaine/devel

Email package improvements
This commit is contained in:
Jesse Rosenberger
2017-06-02 19:01:49 +03:00
committed by GitHub
3 changed files with 11 additions and 5 deletions

View File

@@ -1,9 +1,9 @@
{
"dependencies": {
"node4mailer": {
"version": "4.0.2",
"resolved": "https://registry.npmjs.org/node4mailer/-/node4mailer-4.0.2.tgz",
"from": "node4mailer@4.0.2"
"version": "4.0.3",
"resolved": "https://registry.npmjs.org/node4mailer/-/node4mailer-4.0.3.tgz",
"from": "node4mailer@4.0.3"
},
"stream-buffers": {
"version": "0.2.5",

View File

@@ -28,6 +28,12 @@ var makeTransport = function (mailUrlString) {
mailUrlString + ") must be 'smtp' or 'smtps'");
}
if (mailUrl.protocol === 'smtp:' && mailUrl.port === '465') {
Meteor._debug("The $MAIL_URL is 'smtp://...:465'. " +
"You probably want 'smtps://' (The 's' enables TLS/SSL) " +
"since '465' is typically a secure port.");
}
// Allow overriding pool setting, but default to true.
if (!mailUrl.query) {
mailUrl.query = {};

View File

@@ -1,10 +1,10 @@
Package.describe({
summary: "Send email messages",
version: "1.2.1"
version: "1.2.3"
});
Npm.depends({
node4mailer: "4.0.2",
node4mailer: "4.0.3",
"stream-buffers": "0.2.5"
});