Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Gmail does not detect the reply-to field

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?

like image 675
Waseem Avatar asked Dec 24 '09 11:12

Waseem


People also ask

Why is my reply not showing on Gmail?

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.

How do I change my reply settings in Gmail?

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.


2 Answers

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.

like image 124
Michael Ekoka Avatar answered Oct 26 '22 09:10

Michael Ekoka


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.

like image 33
morhekil Avatar answered Oct 26 '22 09:10

morhekil