send file to email

how i send file to my email account from my pocketpc using c++ language?
could it be through SMTP? is there any code that i can follow? i am currently writing a program using embedded visual c++.
mwcmpAsked:
Who is Participating?
 
KurtVonConnect With a Mentor Commented:
I managed pretty well with this set of classes (which allows email attachments): http://www.codeproject.com/internet/csmtpconn.asp?print=true

Hope this helps.
0
 
mwcmpAuthor Commented:
I am developing using embedded visual and not visual studio. Do let me know if you've got other alternatives. Thanks! :)
0
 
KurtVonCommented:
I'm not sure what you mean.  There is some code masagging necessary, perhaps, but wininet.dll is available on XP Embedded, and all the classes used are available to eMbedded C++.

The mail library is very generic, it doesn't even really rely on MFC (if you ignore the use of CArray which can be changed to a std::vector pretty easily).
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.