I have written a VB macro in Excel which creates and sends an email using MS Outlook.
So I create an Outlook.Application
, and then create an Outlook.Application.CreateItem(olMailItem)
.
This all works fantastically :) But now I have realized the machine I wanted to deploy it on does not have Outlook, and getting a licensed copy of Outlook is not an option. So how can I make this send an email through Thunderbird instead?
I can launch the application using this:
Dim RetVal
RetVal = Shell("C:\Program Files (x86)\Mozilla Thunderbird\thunderbird.exe", 1)
But I'm not sure how I can create a mail item for it. It does not need to use Thunderbird specifically, I just picked it because it was a free mail client.