Thunderbird: Send mail and export as eml

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

Thunderbird: Send mail and export as eml

Post by cschla »

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
User avatar
DanRaisch
Moderator
Posts: 127168
Joined: September 23rd, 2004, 8:57 pm
Location: Somewhere on the right coast

Re: Thunderbird: Send mail and export as eml

Post by DanRaisch »

Moving to Extension Development.
Post Reply