How can you send an email with an attachment through running a c++ program?
Printable View
How can you send an email with an attachment through running a c++ program?
You learn the SMTP protocol and sockets.
uh...how long will 'learn' take?
I found one at http://www.codeproject.com/aspnet/EmailValidator.asp
but it doesn't seem to work
I'm now known as TechnoGuyRob, but can someone still answer my question...:D...please?
Well first i'd suggest learning how the emai lsystem works, IE SMTP <Simple mail transfer Protocol> work, as well as Winsocks <for windows> or the equivilant for Linux works and how to write code for it.
'learn' will likely take a very, very long time if you don't have a lot of coding experience now.
If your not very experienced with C++ or working with libraries, then it'll probably take a while.Quote:
Originally posted by RobertK
uh...how long will 'learn' take?
I agree in that you should put some effort into this.
Anyway; here's a SMTP function i wrote.
Thank you for Salem and Knutso. I am currently taking CSC 161 (C++ programming 2). When do you figure I could handle this?