MozillaZine

Write a record to a file on a web server?

Discussion of general topics about Mozilla Thunderbird
FFman
 
Posts: 247
Joined: January 28th, 2012, 2:06 pm

Post Posted May 8th, 2019, 10:16 am

Is it possible to write a plugin (or something) to write a record to a file on a web server whenever an email is sent?
I am familiar with server side scripting e.g. PHP but have no experience with TB plugins. tia.

tanstaafl
Moderator

User avatar
 
Posts: 45769
Joined: July 30th, 2003, 5:06 pm

Post Posted May 8th, 2019, 1:18 pm

What you want to do is very reasonable but things are pretty chaotic right now.

Thunderbird no longer supports browser type plug-ins. It supports add-ons, but the API is in flux due to Firefox/Gecko moving to the WebExtensions API. They are still figuring out what mail-centric features to add to the new API. Legacy APIs won't be supported for long. See the Add-on Guides and github based repositories section of http://kb.mozillazine.org/Other_sources ... nformation

I suggest you take a look at https://addons.thunderbird.net/en-US/th ... la/?src=ss . The FiltaQuilla add-on adds many features to the message filters. Message filters support filters that run automatically when you send something. One of the filter actions the add-on adds is run a file. You can pass parameters to it. That would let you run something else (such as a vbscript file) that does what you want, without having to write an add-on.

The original author of that add-on is longer maintaining it, somebody else has taken over it. It may take them a while to get everything working for the latest release.

FFman
 
Posts: 247
Joined: January 28th, 2012, 2:06 pm

Post Posted May 8th, 2019, 2:48 pm

Thanks very much tanstaafl for your reply.
I'll have a look at the links you quoted.

morat
 
Posts: 3435
Joined: February 3rd, 2009, 6:29 pm

Post Posted May 8th, 2019, 4:55 pm

Mailbox Alert allows you to specify a system command that will be executed when new mail is found in the sent mail folder.

Mailbox Alert is actively maintained. (supports the new API)

http://addons.thunderbird.net/thunderbird/addon/mailbox-alert/
http://tjeb.nl/Projects/Mailbox_Alert/
http://tjeb.nl/Projects/Mailbox_Alert/Manual/

FFman
 
Posts: 247
Joined: January 28th, 2012, 2:06 pm

Post Posted May 9th, 2019, 12:38 am

Thanks morat, sounds interesting, I'll have a look at it.

Return to Thunderbird General


Who is online

Users browsing this forum: No registered users and 0 guests