I have following settings in my FeedbackMailer.
def notification(feedback)
from "[email protected]"
subject "Some feedback"
recipients "[email protected]"
reply_to feedback.creator.email
body({ :feedback => feedback })
content_type "text/html"
end
I am using [email protected] account to send emails for this application. The emails are delivered perfectly. And when I check the details of the email after receiving it, I see following:
from "[email protected]"
reply-to "[email protected]"
to "[email protected]"
Now when I press on the reply
button in the gmail interface, the to
field should now have the "[email protected]" but it is having "[email protected]". Am I doing something wrong or gmail is?
Have you received an email and would like to forward it or reply to it but the Forward/Reply button is missing? This happens because an image or line of text is making the message too large to display correctly and the button is being pushed out of frame.
Setting the Reply-To in Gmail is easy. Go to Gmail Settings, then Accounts, and click edit info next to the email address whose Reply-To you want to set: Then click the “Specify…” link. Enter in the address, and hit Save Changes.
As the thread Waseem pointed out in a comment indicated.
Gmail ignores the reply-to when the From is one of your configured send-as addresses in gmail. I don't know why.
I took this as a hint and replaced the From email field by the [email protected] and added the same [email protected] as a Reply-to address. Gmail now uses the Reply-to field correctly.
You should check the raw headers of the email instead of just looking on the details, as it is possible that other header affecting the reply function were set by your email server - Sender header, for example. You can see the raw email code using "Show original" function, under the arrow icon in the top-right corner.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With