1
votes

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 ?

1

1 Answers

1
votes

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