
Can I write a program to generate emails and send them via Thunderbird?
I code in Delphi (a Pascal variant). I would like to compose messages in my program and then send them to Thunderbird for transmission. Does TB have a ActiveX or similar interface that lets other software use it?
All Replies (1)
The short answer to your question is NO.
The somewhat longer answer is you can use MAPI or you can use the mailto: links. If my recollection of Delphi (very old) is correct it supported a full featured Mailto:, unlike Microsoft products which tent to only reliably support the Mailto: address and Subject syntax.
Worth considering is that neither MAPI or Mailto are application dependent, they both use the installed default ail application so be it Thunderbird Outlook or TheBat!, your application does not care.
MAPI is most likelt to be the one to die out next, but is also the easiest to compose HTML messages for. If you needs are simple and the body will be text, mailto: is simple, effective and not as prone to automation errors and com: problems as MAPI.