X-Unsent: 1 doesn't work on windows 11 and new outlook

AZKa 10 Reputation points
2024-04-05T14:29:07.5866667+00:00

Hello,

I generate an eml file but the header X-Unsent doesn't work anymore on the new outlook version (windows 11).

How can I specify the mail is a draft ?

Sincerly

Outlook
Outlook
A family of Microsoft email and calendar products.
3,003 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,506 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,209 questions
{count} vote

1 answer

Sort by: Most helpful
  1. S.Sengupta 15,191 Reputation points MVP
    2024-04-13T01:03:59.2133333+00:00

    Unfortunately, including the X-Unsent header in .eml files isn't a reliable way to mark emails as drafts in newer versions of Outlook, including those on Windows 11.

    You may try:

    Compose your email in Outlook.

    Go to "File" and select "Save As."

    Choose the file format "Outlook Message Format (*.eml)" from the "Save as type" dropdown.

    Select a location to save the .eml file.