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++.
Who is Participating?
KurtVonConnect With a Mentor Commented:
I managed pretty well with this set of classes (which allows email attachments):

Hope this helps.
mwcmpAuthor Commented:
I am developing using embedded visual and not visual studio. Do let me know if you've got other alternatives. Thanks! :)
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).
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.