MozillaZine

Thunderbird: Send mail and export as eml

Talk about add-ons and extension development.
cschla
 
Posts: 1
Joined: October 27th, 2017, 2:55 am

Post Posted October 27th, 2017, 3:10 am

Hi,

although I've written some little extensions for Thunderbird I'm considering myself as a beginner in TB development, so maybe the solution isn't as hard as I'm thinking:

I'm trying to write an addon for Thunderbird that allows me to send a mail and afterwards export the sent mail as an eml file. The idea is to import sent mails directly to a Document Management System without having to go to the "sent" folder an to save the mail manually as file.

I've tried to look into the source code an to me it seams that after you're clicking on the send button Thunderbird is doing some checks and then maybe the rest of the functionality is done by code that isn't JavaScript and therefore I can't see it in the developer tools / debugger - or am I wrong?

The problem is, that I don't know if the send dialog at some point in the code gets to know the uri of the message saved in the sent folder...

Maybe someone could give me some input how I can create a "send and export" addon?

Best regards,
cschla

DanRaisch
Moderator

User avatar
 
Posts: 117788
Joined: September 23rd, 2004, 8:57 pm
Location: Somewhere on the right coast

Post Posted October 27th, 2017, 4:33 am

Moving to Extension Development.

Return to Extension Development


Who is online

Users browsing this forum: No registered users and 0 guests