Can anyone please either link a source code that's an SMTP with Gmail or write one on here please? I can figure out how it all works after I get the source code for it, I'm still pretty much a beginner, but I know how most of the things work.
I've been looking around on the internet and have been having problems with finding a good SMTP with c++.
Oh! But one issue I have is I'm using Dev C++, and it doesn't have stdafx.h... So that's a problem with that. If you absolutely have to use it, can someone please show me how to get it for Dev?
And also, if it's possible, can we attach files in the SMTP?
Thanks!
EDIT:
I'm sorry, but uhm I wanted to see an example of a Simple Mail Transfer Protocol, so I can send things over the internet without having to log onto Gmail.
FOR EDUCATION PURPOSES ONLY
I've created a keylogger already, and wanted to take it to the next step so when you hit a certain button, it would send the file it generated to an email adress.
If you couldn't attach any files, I could easily work my way around the keylogger and get it to work.
Right now I'm just struggling to find how to actually make the SMTP... I'm not planning to go out and steal passwords, though. Education purposes only.
A lot of information regarding how SMTP & SSL/TLS works with various examples here:-
http://www.coastrd.com/
Your easiest option is to use a pre-made class:-
http://www.codeproject.com/KB/IP/smtp_ssl.aspx (requires openssl, included in the source)
http://www.naughter.com/smtp.html
I'm sorry, but uhm I wanted to see an example of a Simple Mail Transfer Protocol.
FOR EDUCATION PURPOSES ONLY
I've created a keylogger already, and wanted to take it to the next step so when you hit a certain button, it would send the file it generated to an email adress.
If you couldn't attach any files, I could easily work my way around the keylogger and get it to work.
Right now I'm just struggling to find how to actually make the SMTP... I'm not planning to go out and steal passwords, though. Education purposes only.
Yeah, I opened all the links but had to go to bed (In thailand atm), so didn't have a chance to read through any of them before i posted that. I'm reading through now, though.