Thread: Sending a mail from c / C++ program

  1. #1
    Registered User gilit2's Avatar
    Join Date
    Jan 2011
    Location
    Israel
    Posts
    10

    Sending a mail from c / C++ program

    Hello !
    I would like to send an email to mail recipient
    from my C/C++ code :

    I need to send existing files .
    What is the code for it ?
    Regards

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    37,485
    The long answer is to read "beej", and then read this -> http://www.ietf.org/rfc/rfc2821.txt

    The shorter answer may be to tell us which OS/Compiler you're using.
    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.

  3. #3
    Registered User gilit2's Avatar
    Join Date
    Jan 2011
    Location
    Israel
    Posts
    10

    I use Windows XP

    I use Windows XP
    The compiler is VisualStudio 2010 express

    Regards

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 5
    Last Post: 08-16-2007, 11:43 PM
  2. Sending Email - Using System.Net.Mail
    By b4ip in forum C# Programming
    Replies: 1
    Last Post: 06-01-2007, 12:34 AM
  3. sending an email through a C program
    By shoobsie in forum C Programming
    Replies: 2
    Last Post: 10-06-2005, 06:10 AM
  4. Help doing an e-mail program in c...
    By Tyler_Durden in forum C Programming
    Replies: 88
    Last Post: 01-02-2005, 03:12 PM
  5. a simple program that can let you e-mail
    By simly01 in forum Windows Programming
    Replies: 5
    Last Post: 12-06-2002, 09:14 AM

Tags for this Thread