MozillaZine

Duplicating The Use Of "X-Unsent: 1"

Discussion of general topics about Mozilla Thunderbird
D.Dancer

User avatar
 
Posts: 57
Joined: February 5th, 2006, 1:09 pm

Post Posted June 7th, 2018, 10:38 am

Many years ago, I discovered this simple headers:
Code: Select all
X-Unsent: 1
If included in a file that the default mail application was set to open, would cause the mail application to open the message in "draft mode", where as you could edit the message more, or add more people to the "To:" field, etc, etc, before hitting the Send button.

That wonderful time saver enabled me to use:
Code: Select all
ShellExecute 0, "Open", Filename, "", "", 1
In my VBA applications to send a message file that was constructed with the VBA.

Alas, TB does not honor that header. Bummer.

It's used in hundreds of Excel workbooks which need to generate a custom HTML formatted message for the SendTo.

Serious bummer.

http://kb.mozillazine.org/Command_line_ ... hunderbird
Okies, I could do that.

https://msdn.microsoft.com/en-us/librar ... 21(v=vs.85).aspx
I could also do that.

But not now, I need a quick solution. Mainly because I need something that I can drag and drop, or use a secondary interceptor within the "open" command for the ShellExecute to handle the conversion from .EML to command line formatting or something.

But the biggest issue is that I worked a nice little (HA!) macro that took a single worksheet and subdivided it into several .CSV files, IN MEMORY, converted them to Mime64, and built an email with that.
(Code available to any who want to see how it works.)

Oh boi.

Short of hacking the registry or doing weird (and possibly unacceptable) things to the OS, any other suggestions?

Return to Thunderbird General


Who is online

Users browsing this forum: No registered users and 1 guest