How do I e-mail a message to someone?
Printable View
How do I e-mail a message to someone?
Connect to a mail server and use SMTP to communicate with it. Here's a reference.
Also go to RFCEditor.org and look up the following;
RFC 821 - SMTP, for sending simple mails
RFC 1939 - POP3, for recieving mails
RFC 1521 - MIME, for sending/recieving attachments
There are loads of other RFC's that update each other, but these three are very helpfull.......
You can also do it with outlook (or default e-mail client)
You can also add the title and body of the mail but I forgot how to do it. If I find a code example I'll edit this postCode:#include <shellapi.h>
ShellExecute(hDlg, "open", "mailto:[email protected]", NULL, NULL, SW_SHOWNORMAL);