Thread: mail application

  1. #1
    Registered User
    Join Date
    Mar 2004
    Posts
    113

    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

  2. #2
    Registered User
    Join Date
    Jul 2004
    Posts
    101
    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.

  3. #3
    Toaster Zach L.'s Avatar
    Join Date
    Aug 2001
    Posts
    2,686
    Here is a starting point for learning about SMTP (namely, the SMTP RFC): http://www.faqs.org/rfcs/rfc821.html

  4. #4
    Registered User
    Join Date
    Mar 2004
    Posts
    113
    so you cant make it with the win32 api? like programing winsock or something like that?

  5. #5
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    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
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  6. #6
    * Death to Visual Basic * Devil Panther's Avatar
    Join Date
    Aug 2001
    Posts
    768
    in other words, rfcs for smtp and pop3
    Last edited by Devil Panther; 07-31-2004 at 12:57 AM.
    "I don't suffer from insanity but enjoy every minute of it" - Edgar Allen Poe

    http://www.Bloodware.net - Developing free software for the community.

  7. #7
    Registered User
    Join Date
    Mar 2004
    Posts
    113
    good thaks a lot for reply

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem with com application
    By amardon in forum C++ Programming
    Replies: 3
    Last Post: 10-06-2005, 05:50 AM
  2. MFC run application by clicking on file...
    By dug in forum Windows Programming
    Replies: 4
    Last Post: 12-02-2004, 04:33 AM
  3. Custom mail server-like application?
    By SyntaxBubble in forum Windows Programming
    Replies: 2
    Last Post: 11-11-2003, 10:30 AM
  4. A send mail application with source code
    By Rizwan Rafique in forum Windows Programming
    Replies: 8
    Last Post: 01-11-2002, 10:22 AM