ich würde gern über einen Menüpunkt meiner Applikation das Standard E-Mail programm des jeweiligen Systems auf dem meine App läuft öffnen und dort eine neue E-Mail erzeugen und vorbefüllen.
Unter Borland C++ hatte ich dafür folgende prop. Lösung für Win:
Code: Alles auswählen
#include <shellapi.h>
...
//prepare e-mail
AnsiString subject, mail;
subject = AppName + " " + BuildString + langString;
mail = "mailto:xyz@zyx.de?subject=" + subject + "&body=" + body;
//send an e-mail
ShellExecute(Handle, NULL, mail.c_str(), NULL, NULL, SW_NORMAL);
Gruß,
M