I hope this is the right forum; if not, please direct me to someplace
I'm writing a Windows-based program (in Delphi, in case it makes a
difference), and I would like it to display emails to the user. I've
searched a lot and haven't found info on how I can use Thunderbird for
this purpose. Ideally, I'd like one of two things:
1) Embed Thunderbird in my program (via OLE, an ActiveX control, or
something similar) and have the email appear to the user directly in
the program. From what I've seen, I don't think this is feasable, but
it would the happiest outcome for me.
2) Control Thunderbird remotely, via DDE, OLE, or COM, and tell it
to open files of my choosing. It would also be nice if I could close
the email when I'm done with it. This looks like it should be
possible--I see occasional mention of DDE and OLE with respect to
Thunderbird online--but I can't find any documentation on what exact
communication channels Thunderbird supports.
I can just call Thunderbird with the file on the command line, but to
do that, I need to know where it's installed, which can vary from
computer to computer. (I could trawl through the start menu looking
for it, I suppose, but that starts to feel very hackish.) I'd prefer
a method that lets me trade on the IPC options available in Windows
and, ideally, lets me display the emails directly in my application.
Does anyone have any suggestions?