GMail appearing to ignore Reply-To

。_饼干妹妹 提交于 2019-11-27 04:21:27

Take a look at this thread; I think it answers your question. One of the later posts reads:

If the "From" address is either the same as the "To" address, or is configured in GMail Settings as one of the 'Send As...' accounts, Gmail replies to the "To" address instead of the "Reply-To" address. An easy workaround is to specify a non-Gmail "From" address

EDIT: This doesn't actually appear to work when I programatically send mail. Still investigating if theres a way to get it to work with this

There is a feature in gmail itself to allow you to change the reply to address.

I can't figure out a way to dynamically change the reply to address, but here's how you can do it if you need to send email from several addresses (such as shipping, orders, feedback) but have it reply to a separate account.

Here's how I have it set it up.

Email address ($50/year) :

 automated@example.com          (I use this account to send from in code)
 customerservice@example.com    (customer service logs into this account)

Aliases (free) :

 shipping@example.com
 mark@example.com
 orders@example.com
 feedback@example.com

All these aliases are configured to send mail to automated@example.com and they are put into labels there via filter rules.

I send out from shipping, orders, feedback but want any replies to come to customerservice.

Here's how I set it up :

  • Log into gmail as automated - must be logged in directly as the user you're sending from
  • Click the accounts tab
  • Add each alias you want to send from with the Add another email address you own feature
  • Log in to customerservice and approve all the requests that should have been sent to each alias.
  • Log back in as automated and click edit info next to each email
  • Here you can click Specify a different "reply-to" address and enter customerservice@example.com as the reply to address.

I have slightly more complex reasons that I won't go into here why I have things set up like this - but if you want to change the 'reply-to' address this is the only way I've found to do it. Aliases allow you to send from multiple addresses and set reply-to to whatever you want. unfortunately though I cannot find a way to do this in code but it may work for some people.

Since this was the top result when googling the issue with Reply-To I leave a note here (even though the question is old):

I had this problem and I thought that I had set the headers right, which I had...

When I looked at the mail in Gmail the sender was set to the From-mail even though I had set the Reply-To to another mail. It took me a couple of hours before I actually tried to hit the reply button in Gmail and I realised that it actually worked as intended. Even though the From mail seems to be the sender in Gmails interface, the Reply-To mail is set when hitting the reply button.

I just want to notify about this, since it was not obvious to me at first.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!