-
mail application
hello
can someone point me to a tutorial, docs, links, ideas, etc.
how to develop mail applications with c++, like send receive, etc mails? could be for console mode, win32 api ,MFC, free libraries ,etc.
I'm learning to develop cgi know and want to make a cgi with c++ thats sends a mail to x mail account with user input data, i dont want to use one of those already maded cgi because i want to learn how to develop a mail application.
thanks in advance and please excuse my poor english
-
Most CGI applications use existing mail software such as sendmail to do the dirty work. If you want to write your own then you will want to learn as much as you can about SMTP and sockets.
-
Here is a starting point for learning about SMTP (namely, the SMTP RFC): http://www.faqs.org/rfcs/rfc821.html
-
so you cant make it with the win32 api? like programing winsock or something like that?
-
http://cboard.cprogramming.com/showthread.php?t=41926
Since you've decided to not use anything which is already buit for you...
First you need to master the basics of sockets (read Beej etc), so you can send and receive information over the network.
Then you read the RFCs which tell you how to interact with mail servers
-
in other words, rfcs for smtp and pop3
-
good thaks a lot for reply