mozilla/browserid — pull request #718 by jrburke (2011-12-06 22:37:12+00:00)
Title: Easier setup for configuring email in development

This patch:

* adds the ability to configure the SMTP port, which allows optional TLS use.
* removes email_to_console flag set in dev/local config in favor of just checking if smtp_params have been configured.
* given the new check for smtp_params && smtp_params.host in email.js, it moves the console.log() of the verification link to the "else" so that some potentially confusing ! tests can be avoided.

These changes worked for me when I wanted to configure SMTP in dev, and I also tested the case where I did not configure the SMTP env variables, and I got the console.log call.