email in dos

This is a discussion on email in dos within the C Programming forums, part of the General Programming Boards category; Hi guys. noticed an other post about email in c just what I needed a while back for a program ...

  1. #1
    Unregistered
    Guest

    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
    Unregistered
    Guest
    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 http://www.astalavista.com 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
    Unregistered
    Guest
    okay I found the direct links.

    SMTP Tutorial
    http://www.astalavista.com/library/p...tutorial.shtml

    Sockets Tutorial
    http://www.cs.rpi.edu/courses/sysprog/sockets/sock.html

    Just bundle the two together, and you can send email

  4. #4
    Unregistered
    Guest
    Here's a simpler tutorial on sockets, the last one was pretty advanced
    http://www.ahpcc.unm.edu/~cara/will/...ntserver1.html

  5. #5
    Unregistered
    Guest

    Unhappy

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

  6. #6
    Registered User
    Join Date
    Oct 2001
    Posts
    197

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

    klausi
    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 Cprogramming.com
    Replies: 14
    Last Post: 03-05-2008, 11:05 AM
  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, 08:08 PM
  4. DOS program versus DOS console program
    By scromer in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 01-10-2002, 12:42 PM
  5. Shut off DOS screen automatically to Windows
    By Unregistered in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 11-08-2001, 06:14 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21