redfox88
redfox88

Reputation: 77

Reply-To header not working in Gmail API

I am using GMail API to create drafts and redirect user to be able to review and send.

However the Reply-To header seems to be ignored by GMail API

My header is:

X-Sender: [email protected]
X-Receiver: [email protected]
MIME-Version: 1.0
From: [email protected]
To: [email protected]
Reply-To: [email protected]
Subject: subject
Content-Type: text/html;charset=utf

Email Body

But when the recipient of the email hits reply button, the From address is used to reply instead of Reply-To.Tried to send the email from browser as well as fully automated via API too.

Any ideas ?

Upvotes: 0

Views: 294

Answers (1)

redfox88
redfox88

Reputation: 77

Ah got it. I must supply Return-Path: as well.

Upvotes: 1

Related Questions