Commit graph

9 commits

Author SHA1 Message Date
Julen Landa Alustiza
dfeeec308a Fix email settings loading:
MAIL_URL was overriden with database info all the time.
Now if MAIL_URL exists is not overwritten and if neither MAIL_URL nor
exists valid admin panel data MAIL_URL is not set.
MAIL_FROM was ignored. Same behaviour, env variable has bigger priority
than database configuration.
On both cases, althrought environment variable is set, updating admin-panel
mail settings will load new info and ignore the environment variable.
Remove some code that is not needed anymore
2017-04-01 21:46:09 +02:00
Lauri Ojansivu
0c36f5f4c2 Merge pull request #943 from Zokormazo/smtp
Don't send emails if missing smtp host
2017-03-28 20:52:39 +03:00
Julen Landa Alustiza
5db786e2dd Don't send emails if missing smtp host 2017-03-28 12:44:36 +02:00
lkisme
f82941550a Remove invitation code if email sending failed, improve registration process with invitation 2017-03-28 00:48:18 +08:00
lkisme
1dfb6ef477 Admin panel:
Only invited user can register in strict mode,
Set mail server in admin panel,
Switch strict mode in admin panel,
Invite people to system in admin panel
2017-02-24 22:10:38 +08:00
Maxime Quandalle
e124ad8ed9 Fix invitation email subject 2015-12-21 23:46:51 +01:00
floatinghotpot
892d1a2d45 i18n-ize meteor email templates 2015-12-04 10:39:51 +08:00
Drew DeVault
41aa2f63b5 Add MAIL_FROM environment variable
Otherwise the mail comes from no-reply@meteor.com, which will fail a
lot of spam tests.

Closes #407
2015-11-25 10:12:43 -08:00
Maxime Quandalle
e551d067b1 Share the useraccounts configuration with the server
The previous users accounts templates configuration only happened on
the client, which was wrong and caused some bugs, for instance an
invalid URL was generated in the reset password e-mail.

Fixes #297
2015-11-02 18:47:06 -08:00
Renamed from client/config/accounts.js (Browse further)