Automation

Discussion of features in Mozilla Thunderbird
Post Reply
RWilkes
New Member
Posts: 1
Joined: November 1st, 2015, 9:27 am

Automation

Post by RWilkes »

Have scoured this forum and the web and come up empty...
Does Thunderbird have an automation interface?
Scenario: From within a Word doc, Excel spreadsheet, FoxPro application, etc.
create a new T-Bird message. Stuff the To, CC, BCC, Subject, Text properties.
Tell T-Bird to send the message.

My interim solution is to use my ISP's SMTP interface, create the email w/ me as BCC.
When I receive it, move it to 'Sent items' folder. That's OK for one or two messages but becomes a hassle if I'm sending more than a couple emails.
User avatar
tanstaafl
Moderator
Posts: 49647
Joined: July 30th, 2003, 5:06 pm

Re: Automation

Post by tanstaafl »

Thunderbird supports the SimpleMAPI API which is a generic interface under Windows to let applications such as Word, Excel etc. send or read a message using the default email client, without knowing anything about who the default email client is.

Microsoft started discouraging its use around 2009 (they'd prefer you to use the full MAPI API or its replacement - Exchange Web Services (EWS)) but I'd expect it to be supported as long as they support Win32 applications. Win32 (and Win64) was their core API before Windows 8, where they introduced the WinRT API in order to develop "Metro style" applications. With Windows 10 they are pushing a superset of WinRT in order to develop "universal" applications but they still have legacy support for older APIs.

https://msdn.microsoft.com/en-us/librar ... 85%29.aspx
http://kb.mozillazine.org/MAPI_Support
Post Reply