Thread: C++ Program to Email a File

  1. #1
    Registered User
    Join Date
    Jul 2015
    Posts
    2

    Question C++ Program to Email a File

    I work as a intern IT Administrator and my Higher ups need a program that will email a file called "Student.txt" (it is where there logging program logs when students connect, who connects, when they leave, and what modify on the computer) to the IT's email every day at 6:00pm (log starts at 7:00am and logs until 5:30 pm) . For years they have just gone to the m:\ Drive but the school got rid of our shared drives that contained logs. Now they want me to email it to the IT's email.

    I am guessing using SMTP would be the only way to go.

    I don't have much experience in doing these types of tasks. How might this be accomplished in an efficient manner?
    Last edited by zwashburn; 07-17-2015 at 08:48 PM. Reason: Spelling and Formatting + I cant use these darn Touch Screen Tablets!

  2. #2
    Registered User
    Join Date
    Mar 2015
    Posts
    184
    What's wrong with existing email software.

  3. #3
    Registered User
    Join Date
    Jul 2015
    Posts
    2
    Quote Originally Posted by jiggunjer View Post
    What's wrong with existing email software.
    I emailed my Supervisor (the main IT adminstrator) and he said he would like it in c++. I am assuming he wants it a standalone because of how many computers it will be on.

  4. #4
    Registered User
    Join Date
    Jun 2015
    Posts
    1,640
    This seems like a dumb thing to write in C++. Sounds more like a job for python or a shell script. If you really want to write it in C++, grab a C++ smtp library and get to it.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 9
    Last Post: 01-21-2014, 10:44 PM
  2. Email program
    By Matt Hintzke in forum Networking/Device Communication
    Replies: 7
    Last Post: 12-26-2011, 08:46 AM
  3. Log file through email or ftp
    By OpX in forum C++ Programming
    Replies: 8
    Last Post: 03-07-2011, 04:49 PM
  4. C++ Email Box Program
    By tiredtired in forum C++ Programming
    Replies: 2
    Last Post: 03-07-2008, 11:30 AM
  5. email program
    By fromhome in forum C++ Programming
    Replies: 1
    Last Post: 07-13-2006, 04:38 PM

Tags for this Thread