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. simple SMTP client ??

simple SMTP client ??

Scheduled Pinned Locked Moved C / C++ / MFC
questionc++help
4 Posts 4 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.
  • S Offline
    S Offline
    shrims4u
    wrote on last edited by
    #1

    I want to create a simple SMTP client which will send an email with login and password features using VC++... How can i acieve it.. Actually i want to know how do we pass messages int commant prompt using C++..so that i can pass commands like MAIL FROM MAIL TO telnet address port(25) Please help

    stefanmihaimogaS V T 3 Replies Last reply
    0
    • S shrims4u

      I want to create a simple SMTP client which will send an email with login and password features using VC++... How can i acieve it.. Actually i want to know how do we pass messages int commant prompt using C++..so that i can pass commands like MAIL FROM MAIL TO telnet address port(25) Please help

      stefanmihaimogaS Offline
      stefanmihaimogaS Offline
      stefanmihaimoga
      wrote on last edited by
      #2

      Well, I think you should have a look into PJ Naughter CSMTPConnection[^] class. I used in private project and it is very reliable. Best regards, Mihai Moga

      1 Reply Last reply
      0
      • S shrims4u

        I want to create a simple SMTP client which will send an email with login and password features using VC++... How can i acieve it.. Actually i want to know how do we pass messages int commant prompt using C++..so that i can pass commands like MAIL FROM MAIL TO telnet address port(25) Please help

        V Offline
        V Offline
        Varghese Paul M
        wrote on last edited by
        #3

        Hi, The SMTP protocol does not support username and password authentication. You have to get authorized by login into the associated POP3 server, which will give you a time span to connect with the SMTP server. (Go through RFC 821) For accepting parameters from the console, you can use the combination of functions printf()and scanf()or the C++ standard "cin" and "cout"

        1 Reply Last reply
        0
        • S shrims4u

          I want to create a simple SMTP client which will send an email with login and password features using VC++... How can i acieve it.. Actually i want to know how do we pass messages int commant prompt using C++..so that i can pass commands like MAIL FROM MAIL TO telnet address port(25) Please help

          T Offline
          T Offline
          ThatsAlok
          wrote on last edited by
          #4

          please see this canned search is any use for you! http://www.codeproject.com/info/search.aspx?artkw=smtp&sbo=kw[^]

          "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
          Never mind - my own stupidity is the source of every "problem" - Mixture

          cheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You/xml>

          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