DEPRECATED - Migrated to https://github.com/mozilla/fxa
Перейти к файлу
Shane Tomlinson f91a3279e2 feat(mailer): Remove the account lockout feature. (#187) r=vladikoff
With signin confirmation and email recaphta we have more targeted
meant to keep bad people at bay while minimizing friction for valid
users, account lockout no longer seems particularly elegant.

fixes #186
2016-07-25 21:57:17 -04:00
bin Merge pull request #179 from mozilla/i178 r=rfk 2016-07-08 11:05:29 -04:00
config fix(mailer): Slow down the verification reminder emails in dev. (#181) 2016-07-14 18:12:15 -04:00
grunttasks feat(build): Add version-tagging grunt tasks 2016-06-22 15:53:10 +10:00
lib Merge pull request #179 from mozilla/i178 r=rfk 2016-07-08 11:05:29 -04:00
partials feat(mailer): Remove the account lockout feature. (#187) r=vladikoff 2016-07-25 21:57:17 -04:00
scripts chore(eslint): make eslint rules consistent 2016-06-24 11:03:45 -07:00
templates feat(mailer): Remove the account lockout feature. (#187) r=vladikoff 2016-07-25 21:57:17 -04:00
test feat(mailer): Remove the account lockout feature. (#187) r=vladikoff 2016-07-25 21:57:17 -04:00
.eslintrc chore(lint): add ESLint to repo 2015-06-18 13:26:49 -07:00
.gitignore fix(script): Cleanup of write-to-disk.js based on @philbooth's feedback. 2016-05-25 10:13:54 +01:00
.travis.yml fix(travis): update Travis to MySql 5.6 2016-05-06 13:32:03 -04:00
AUTHORS feat(build): Add version-tagging grunt tasks 2016-06-22 15:53:10 +10:00
CHANGELOG.md Release v1.64.0 2016-06-27 10:01:33 -04:00
Gruntfile.js feat(build): Add version-tagging grunt tasks 2016-06-22 15:53:10 +10:00
LICENSE Add the full text of the MPL 2.0 2014-09-23 03:37:21 +12:00
README.md fix(docs): fix prerequisites for node 2015-11-13 18:17:38 -05:00
config.js feat(mailer): Remove the account lockout feature. (#187) r=vladikoff 2016-07-25 21:57:17 -04:00
index.js feat(mailer): Add new security templates 2016-04-11 10:42:22 +01:00
legacy_log.js feat(log): switch to mozlog 2016-01-19 14:42:53 -05:00
log.js feat(log): switch to mozlog 2016-01-19 14:42:53 -05:00
mailer.js feat(mailer): Remove the account lockout feature. (#187) r=vladikoff 2016-07-25 21:57:17 -04:00
npm-shrinkwrap.json fix(deps): update dev dependencies 2016-07-19 12:12:59 -04:00
package.json fix(deps): update dev dependencies 2016-07-19 12:12:59 -04:00
translator.js chore(lint): add ESLint to repo 2015-06-18 13:26:49 -07:00

README.md

Firefox Accounts Mailer

Build Status

Library to send out verification emails in the fxa-auth-server which renders emails from a template (and handles localization).

The emails are written to postfix which tends sends them off to SES.

The auth-mailer also includes a restify API to send emails, but the auth server is using it as a library at the moment.

Prerequisites

  • node 0.10.x
  • npm
  • postfix

Changing Templates

If you are changing or adding templates then you need to update .html and .txt templates. Use the /partials directory to make changes to the HTML templates, then run grunt templates to regenerate the template. This saves the HTML template into /templates. Then make changes to the .txt template in the /templates directory.

L10N

After updating a string in one of the templates in ./templates you'll need to extract the strings using this script:

extract_strings.sh [--mailer-repo ./fxa-auth-mailer] [--content-repo ./fxa-content-server] [--l10n-repo ./fxa-content-server-l10n] train_number