Reputation: 231
When you leave the accounts-password email template as is it shows the sender of the reset password email as Meteor Accounts.
When I try to change it like this
Accounts.emailTemplates.from = "Myself <[email protected]>";
then the email never gets sent. Does anyone know what the correct way to change this is?
Upvotes: 2
Views: 537
Reputation: 222
I've just tried to reproduce and think I know what the problem is.. first off I put that line in my client startup (didn't work) but as soon as I moved it to the server startup function the emails were being sent from the correct name/address.
See if that works for you.
David
Upvotes: 4
Reputation: 15442
Does your SMTP provider allow you to send email from that address?
If you're running from meteor.com using they're default SMPT service then I doubt they'll let you set the from address to anything you like for security reasons.
Upvotes: 0