sending e-mails out via a dos batch file


  • I am not certain what forum to post to question to. Thus if this is bnto the correct forum, can you tell me what forum to post this question to?

    I have IT experience with programming how I have not worked with a DOS batch file before. I need to send an e-mail message to selected users when certain DOS Batch files are executed. In these e-mail message, I need to include the date and time the dos batch jobs were executed.

      Thus can you tell me how to send an e-mail message from a dos batch file that has the date and time on it also?

    Wednesday, June 01, 2011 7:05 PM


  • Hi pearlbird,


    Thanks for posting here.


    Perhaps you may take look the KB article below first:


    Sending E-mail from a Command Prompt Using the IIS SMTP Service


    Meanwhile, it is recommend you to get further support in the Scripting Guys Forum so that you can get the most qualified pool of respondents:


    The Official Scripting Guys Forum




    Tiger Li

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
    Thursday, June 02, 2011 7:24 AM