Thanks for the MAPI suggestion. I did a bit more googling, and combined
a few things, along with some trial and error to come up with something
that works. Here it is for posterity:
import win32com.client
olMailItem = 0x0
obj = win32com.client.Dispatch("Outlook.App
Adam Endicott wrote:
> I've got a wxPython based windows GUI application that takes some input
> and creates a PDF file output. At the end, I need to create an email
> message with this pdf file attached ready for the user to just hit
> "send". I don't want to actually send the email automatically,
I looked into this same question many months ago and got stuck just
where you are. Indeed the webbrowser.open('mailto:...') command
seems like a great idea, but I lost 6 hours of my life trying to figure
out how to do attachments :-(
Here's my guess at what your two best options are:
1. Work wit
I've got a wxPython based windows GUI application that takes some input
and creates a PDF file output. At the end, I need to create an email
message with this pdf file attached ready for the user to just hit
"send". I don't want to actually send the email automatically, I just
want to pop up a mess