Author Options:

How to make an email sending program in visual C++? Answered

Hi Instructables!
     I want to make a program in visual C++ express 2010 that can send emails to any address from any address. Can you please tell me a sample code that can do this. Also please define what is the work/function of different commands or codes, whatever you want to call them, present in it if you will.

Thank You,


Hmm... sounds like a virus in the making. I doubt that you will get a simple code to do that... it's been a few years since I worked with C++, so I'm not even going to attempt it, but even if you do find someone who knows enough about it, I don't think it will be simple.

Actually I had in mind to make a game that could ask the user for feedback and then send it to my email. But had no idea on how to make the program send an email. So if you have any code at all, simple or complicated, then please tell me. I got all of it right accept the email sending part.

Hmm... it's been too long since I did anything even remotely close to that in C++... I wouldn't even remember where to start. Sorry.