From bf7fefa56838f8b03adcc218dfe449f4205fffd7 Mon Sep 17 00:00:00 2001 From: Jesse Rosenberger Date: Mon, 5 Jun 2017 19:45:38 +0300 Subject: [PATCH] Change default `from` email for `accounts-password` to an "example". Currently, the default "from" address for `meteor-accounts` is "no-reply@meteor.com". While this works for many users, and granted it is a "no reply" address and there should be no expectation of the address working, it contributes to a negative spam rating for the "meteor.com" domain and a surplus of extra e-mail. The correct way to set the default "from" address is by setting: Accounts.emailTemplates.from = "Name "; As per the documentation here: https://docs.meteor.com/api/passwords.html#Accounts-emailTemplates By changing it to "example.com", and making a more obvious "example" out of the name ("Accounts Example"), it should encourage users to actually change the address to something more reasonable especially since many e-mail providers will also reject mail coming from "example.com", which should provide a clear warning to those who have their e-mail misconfigured. --- packages/accounts-password/email_templates.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/accounts-password/email_templates.js b/packages/accounts-password/email_templates.js index a2116998c8..badf763583 100644 --- a/packages/accounts-password/email_templates.js +++ b/packages/accounts-password/email_templates.js @@ -19,7 +19,7 @@ Thanks. * @importFromPackage accounts-base */ Accounts.emailTemplates = { - from: "Meteor Accounts ", + from: "Accounts Example ", siteName: Meteor.absoluteUrl().replace(/^https?:\/\//, '').replace(/\/$/, ''), resetPassword: {