MailMergeP icon indicating copy to clipboard operation
MailMergeP copied to clipboard

send mail without GUI

Open vks2 opened this issue 1 year ago • 4 comments

Thanks for wonderfull project. BTW, it's almost first and one TB ext that uses node and also you use a very interesting architecture via iframe that is also not common. so thanks anyway. could you pls comment, how the project can be updated if i don't need a gui window, and should run the app as a service (constantly check for excels in folder and if there's some new excel send a standart mails for all template parts in it). what's the way of doing it without hard job of refactoring all elements of iframe service? thanks much

vks2 avatar Nov 26 '24 05:11 vks2

That's a good question. I don't know how to do that at the moment. Last I checked, TB did not have an API for extensions to directly send email. Instead I must create a new "Compose" window, put the contents in there, and then trigger the "Send" action.

I know the TB programmers were working on an API for extensions to send email, though. Maybe it's been updated already :-).

siefkenj avatar Nov 26 '24 05:11 siefkenj

thanks for explanation. indeed, it's pretty strange. and that's why the button as it compose mail level window. if i just need node, should i implement iframe architecture or there's a simplier way for achiving that?

vks2 avatar Nov 26 '24 05:11 vks2

So, to be clear, you want a fully-headless way to send emails from a spreadsheet, or you want a GUI to set up the spreadsheet and the template, but you don't want TB to be running?

siefkenj avatar Nov 26 '24 05:11 siefkenj

I want to make some kind of service in node.js out of running thunderbird that looks up for some messaging tasks setted out in some known folder. without any buttons pressed etc... (or with only 1 button pressed from compose message tab). thank you for your kind help

vks2 avatar Nov 26 '24 05:11 vks2