how to make c++ email me?

if i have a .txt file can i make a program email me that file? if so how? what code must i use?
Try this out
http://johnwiggins.net/jwsmtp/

You also have the option of using sockets.
Last edited on
what are sockets and will this work on windows?
An internet socket is, as simply as I can put it, is a point through which a program can communicate with the internet. There are several specifications and/or libraries that offer you tools to program with these, including winsock.

That code that ultifinitus posted a link to should work on Windows, yes. If it doesn't, then something's really screwy.

-Albatross
Last edited on
Topic archived. No new replies allowed.