Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Programmatically sending mails

Programmatically sending mails

Scheduled Pinned Locked Moved C / C++ / MFC
comquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    Vikash Dubey 0
    wrote on last edited by
    #1

    Can anybody tell me how can i programmatically send and receive mails from any mail account for ex hotmail.com like outlook express does.:((

    A N 2 Replies Last reply
    0
    • V Vikash Dubey 0

      Can anybody tell me how can i programmatically send and receive mails from any mail account for ex hotmail.com like outlook express does.:((

      A Offline
      A Offline
      Alpesh
      wrote on last edited by
      #2

      Sending and receiveing mail progrmatically like hotmail is possible by using the SMTP and POP3 Protocol wrappers that are available on CodeProject Site. http://codeproject.com/internet/csmtpconn.asp by PJ Naughter could help in this. Thanks in Advance Regards Alpesh Makwana

      1 Reply Last reply
      0
      • V Vikash Dubey 0

        Can anybody tell me how can i programmatically send and receive mails from any mail account for ex hotmail.com like outlook express does.:((

        N Offline
        N Offline
        NullStream
        wrote on last edited by
        #3

        That's a really complex question though like most complex questions it is much easier to state. Here are a few hints for direction: 1. Learn WinSock or BSD sockets (you'll need them). 2. Read through RFC 821 (SMTP) most of it might be confusing if your not used to "grammars" but you can get the protocol quite easily. This is how internet mail is propogated (aka sent and passed on). 3. Read through RFC 1939 (POP-3) the same goes as hint #2 except this is how mail is typically recieved through email programs (there are other protocols such as IMAP or Exchange for example but this is far simpler to start with). If you really want to figure out how this works I suggest you make 4 little experiment tools to begin with in this order (from easiest to hardest). 1. Simple SMTP client. 2. Mail Queue lister and deleter. 3. Mail Reader. 4. Mail Reader with MIME support. Hopefully this has given you a specific direction to work in. If you need more clarification don't hesitate to ask. Sean Cody (NullStream) "As long as you want to live, everywhere will become heaven. Afterall, you are still alive." - End Of Evanglion

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups