The answer from TcK gave me an idea, so I tried the following:
system("mailto: thomas.muster@domainname.com ?subject=Test");
and
STARTUPINFO info = {sizeof(info)}; PROCESS_INFORMATION processInfo = {0}; if (!::CreateProcess(NULL, "mailto: thomas.muster@domainname.com ", NULL, NULL, FALSE, 0, NULL, NULL, &info, &processInfo)) { MessageBox("Couldn't invoke Standard Mail Client"); return; }
But neither the first nor the second form worked. Do you have a simple solution?
Thanks!
source share