I'm capable of building an .eml
file using TIdMessage
in Delphi.
It has a header like this:
X-Unsent: 1
Subject: Testiing Subject
To: "[email protected]" <[email protected]>
MIME-Version: 1.0
Date: Tue, 6 Oct 2020 15:43:50 -0300
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
But when I open the file (with ShellExecute()
via Delphi code, or the file itself) using Outlook and Thunderbird, both open it like a received e-mail and don't show options to send the message.
From what I know, and found searching the Web, the X-Unsent:1
header should do the trick.
So my question is, does this flag not work anymore? If not, what should I try?
X-Unsent: 1
, I just tried it with the header above and Outlook opened it in the edit mode. – Dmitry Streblechenko