问题
I have the following Meteor code, with Meteor's default Mailgun SMTP settings:
Email.send({
to: "customer@gmail.com,
from: "company@gmail.com",
replyTo: "company@gmail.com",
subject: 'Test',
text: "Test"
});
The email sends fine, but when the customer clicks "reply" in Gmail, it replies to "customer@gmail.com" instead of "company@gmail.com".
回答1:
Make sure you're not hitting "reply all" instead of "reply".
I have just tested and it's working as expected on my end with the latest meteor and the email module.
Best,
来源:https://stackoverflow.com/questions/26224282/meteor-mailgun-response-to-emails-not-going-to-from-address