locked
How to send Email through C++ program using Gmail Account? RRS feed

  • Question

  • Hi,

    I Want to send Email using C++ program from  my Gmail Account. I am using Visual Studion 2008. How can I do this? Any suggestion or sample Code will be appreciated. I am doing this on windows.

     

    Thanks

    Wednesday, July 13, 2011 10:05 AM

Answers

  • Check http://www.codeproject.com/KB/IP/#Email+%26+SMTP

    Other options include

    System.Net.Mail in .Net Framework

    CDO/Exchange/Outlook/MAPI



    The following is signature, not part of post
    Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
    Visual C++ MVP
    • Marked as answer by Rob Pan Monday, July 25, 2011 8:16 AM
    Thursday, July 14, 2011 10:27 PM

All replies

  • try this

    http://social.msdn.microsoft.com/forums/en-US/vclanguage/thread/12345906-8a17-41c2-846f-fd3e1a135238/

     

    or you can use third party library

     


    मनोज कुमार जांगिड [manojjangid@hotmail.com] skype - jangid
    • Proposed as answer by Jangid Wednesday, July 13, 2011 10:50 AM
    Wednesday, July 13, 2011 10:37 AM
  • thats does not solve my problem. Do you have sample application that can send email using your gmail account? 
    Wednesday, July 13, 2011 11:17 AM
  • Check http://www.codeproject.com/KB/IP/#Email+%26+SMTP

    Other options include

    System.Net.Mail in .Net Framework

    CDO/Exchange/Outlook/MAPI



    The following is signature, not part of post
    Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
    Visual C++ MVP
    • Marked as answer by Rob Pan Monday, July 25, 2011 8:16 AM
    Thursday, July 14, 2011 10:27 PM