How do I e-mail a message to someone?
How do I e-mail a message to someone?
Website(s): http://www16.brinkster.com/trifaze/
E-mail: [email protected]
---------------------------------
C++ Environment: MSVC++ 6.0; Dev-C++ 4.0/4.1
DirectX Version: 9.0b
DX SDK: DirectX 8.1 SDK
Connect to a mail server and use SMTP to communicate with it. Here's a reference.
"Optimal decisions, once made, do not need to be changed." - Robert Sedgewick, Algorithms in C
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);