Can I trigger my Mac to open the default mail client "new message" window from my C++ program. It should work just like a mailto link does. When the program runs it should open a "new message" window with a message body, a subject line, and a recipient already filled in. I DON'T need to include an attachment. I know there are some answers already on Stack Overflow addressing that question. A mailto link with the functionality I need looks something like this:
"mailto:bob@domain.com?subject=look at this website&body=Hi,I found this website."
If it is not possible to use mailto directly in C++, is there some other way of doing what I am looking for?
Thank you for your help!