Email application from VC++
C / C++ / MFC
3
Posts
3
Posters
0
Views
1
Watching
-
Hi All, How to write an email application from VC++? Thanks in advance, Awating your reply, - Ramesh.:zzz:
-
What you have to do ? Do you have to just send the message or anything else. Cheers "Peace of mind through Technology"
If you just need to send an email to a specific address, you can just ShellExecute that email address (similar to how you invoke a url). ShellExecute(hwnd, "open", "mailto:your.address@domain.com", NULL, NULL, SW_SHOW); You can even supply a body/subject by crafting the mailto like a Query string (MSDN[^]): mailto:your.address@domain.com?body="This is the body"&subject="Auto-generated e-mail subject" If you need more advanced functionality (such as choosing your server), check the forum Q&A FAQ.