O
O
Oleg Leonov2014-09-16 11:44:21
Programming
Oleg Leonov, 2014-09-16 11:44:21

How do I convince gmail to respond on Return-Path?

There is the following scheme of work - the site has a feedback form, the user enters the name, text and email for communication (let it be [email protected]). After that, the server sends a letter to the server at [email protected] with Return-Path as [email protected] There is a redirect to my mail [email protected] I click answer, but for some reason gmail responds to [email protected], and not to [email protected], which is specified in Return-Path.
Here is the part of the header that comes to my mail

Delivered-To: [email protected]
Received: by 10.76.34.201 with SMTP id b10csp1222613oaj;
        Tue, 16 Sep 2014 01:03:40 -0700 (PDT)
X-Received: by 10.112.76.230 with SMTP id n6mr32895496lbw.8.1410854618802;
        Tue, 16 Sep 2014 01:03:38 -0700 (PDT)
Return-Path: <[email protected]>
Received: from server43.hosting.reg.ru (server43.hosting.reg.ru. [37.140.192.50])
        by mx.google.com with ESMTPS id jf4si22691406lbc.100.2014.09.16.01.03.33
        for <[email protected]>
        (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Tue, 16 Sep 2014 01:03:34 -0700 (PDT)

How can I convince gmail to respond with Return-Path, or maybe something needs to be changed when sending a letter with a script from the site?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Maxim Vasiliev, 2014-09-17
@qmax

Any MUA replies to the address specified in the From or Reply-To headers.

O
Oleg Leonov, 2014-09-16
@sagus

Made Reply-To, doesn't work

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question