Thread: Please someone, how do you send an e-mail in c++?

  1. #1
    RobertK
    Guest

    Please someone, how do you send an e-mail in c++?

    How can you send an email with an attachment through running a c++ program?

  2. #2
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    You learn the SMTP protocol and sockets.
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  3. #3
    RobertK
    Guest
    uh...how long will 'learn' take?

    I found one at http://www.codeproject.com/aspnet/EmailValidator.asp
    but it doesn't seem to work

  4. #4
    Registered User
    Join Date
    May 2003
    Posts
    2
    I'm now known as TechnoGuyRob, but can someone still answer my question......please?

  5. #5
    Wen Resu
    Join Date
    May 2003
    Posts
    219
    Well first i'd suggest learning how the emai lsystem works, IE SMTP <Simple mail transfer Protocol> work, as well as Winsocks <for windows> or the equivilant for Linux works and how to write code for it.

  6. #6
    Pursuing knowledge confuted's Avatar
    Join Date
    Jun 2002
    Posts
    1,916
    'learn' will likely take a very, very long time if you don't have a lot of coding experience now.
    Away.

  7. #7
    Toaster Zach L.'s Avatar
    Join Date
    Aug 2001
    Posts
    2,686
    Originally posted by RobertK
    uh...how long will 'learn' take?
    If your not very experienced with C++ or working with libraries, then it'll probably take a while.
    The word rap as it applies to music is the result of a peculiar phonological rule which has stripped the word of its initial voiceless velar stop.

  8. #8
    Registered User
    Join Date
    Feb 2002
    Posts
    329
    I agree in that you should put some effort into this.

    Anyway; here's a SMTP function i wrote.

  9. #9
    Registered User
    Join Date
    May 2003
    Posts
    2
    Thank you for Salem and Knutso. I am currently taking CSC 161 (C++ programming 2). When do you figure I could handle this?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. tuncated uint8_t
    By Coens in forum C Programming
    Replies: 14
    Last Post: 11-24-2008, 07:57 AM
  2. pointers
    By InvariantLoop in forum C Programming
    Replies: 13
    Last Post: 02-04-2005, 09:32 AM
  3. LISP (DrScheme) any one?
    By Jeremy G in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 03-31-2004, 12:52 PM
  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
  5. Send Mail
    By Unregistered in forum Windows Programming
    Replies: 0
    Last Post: 11-26-2001, 06:59 PM