[solved] Email.send overrides "from" address to "no-reply@meteor.com"

I was sending email fine until recently but have upgraded meteor to 1.5. Now I’m getting: Exception while invoking method 'createUser' DeliveryError and the from address is set to Meteor Accounts <no-reply@meteor.com> not my Amazon-approved MAIL_FROM address.

My from is definitely set as you can see below – haven’t changed anything with it. MAIL_URL is set as I’m getting an unverified MAIL_FROM error from AMZN SES which is how I know what the from address is set to.

Email.send({ from: 'MyBiz Bot <no-reply@MyBiz.com>', to: 'info@MyBiz.com', subject: 'New user signed up' });

I searched the email and accounts-base package and can’t find this set anywhere. Any thoughts on how to fix this?

Meteor 1.5 has not yet been released - it’s only available as a pre-release for testing and reporting issues.

Maybe you should report this as an issue. :wink:

Actually it isn’t a problem on my end.

I get this error from AMZN SeS:

Exception while invoking method 'createUser' DeliveryError: Message delivery failed: 554 Message rejected: Email address is not verified. The following identities failed the check in region US-EAST-1: no-reply@meteor.com

I am using a verified MAIL_FROM address with Amazon and the email correctly sends, but this error thrown in my app and prevents the signup redirect.

I looked in the Email package on Github and the code hasn’t changed in months so I was thinking this was an issue on my end but that seems to not be the case.

Anyone know how to fix this? This is on Meteor 1.5 and I went to make a repro, but my MAIL_URL is obviously untestable by others. If no one has any solutions or hasn’t run into this I will continue with that repro and post as an issue on Github.