Thread: email in dos

  1. #1

    email in dos

    Hi guys.

    noticed an other post about email in c just what I needed a while back for a program I was writing and never did acheive this so please can someone help me out,
    how can I send email in c in dos running windows 95 also I could also do with finding out how to do this in a c program running on windows 95 not in dos is it possible to do these tasks using the system() function and what does the system() function need.

    thanks for the the help.
    learner wanting to be a master.

  2. #2
    System commands are slow, and I don't think there are any system commands for it.

    If you have DJGPP I think you can use sockets, do a search on Yahoo for Sockets C Tutorial. I found a good one a while ago. You connect to the SMTP server and do "HELO" and all that crap. There is a tutorial on SMTP at in the tutorial libraries (though that site is more hacking orientated).

    It's actually quite simple once you copy the code from the socket tutorial.

  3. #3
    okay I found the direct links.

    SMTP Tutorial

    Sockets Tutorial

    Just bundle the two together, and you can send email

  4. #4
    Here's a simpler tutorial on sockets, the last one was pretty advanced

  5. #5


    hmm actually I think they work only in Unix/Linux :/

  6. #6
    Registered User
    Join Date
    Oct 2001

    Put your thread on the section "DOS-programming"!

    When I close my eyes nobody can see me...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Spam Filters. ISP based email is dying.
    By Mario F. in forum A Brief History of
    Replies: 14
    Last Post: 03-05-2008, 12:05 PM
  2. Open Source Email Server!
    By andhikacandra in forum Tech Board
    Replies: 2
    Last Post: 10-02-2007, 10:51 PM
  3. File systems?? (Winxp -> DOS)
    By Shadow in forum Tech Board
    Replies: 4
    Last Post: 01-06-2003, 09:08 PM
  4. DOS program versus DOS console program
    By scromer in forum A Brief History of
    Replies: 4
    Last Post: 01-10-2002, 01:42 PM
  5. Shut off DOS screen automatically to Windows
    By Unregistered in forum A Brief History of
    Replies: 2
    Last Post: 11-08-2001, 07:14 PM