How to Send Email from a Batch File


Choose an answer and hit 'next'. You will receive your score and answers at the end.

question 1 of 3

When sending mail, the client or program creates an email message and sends it through what kind of server?

Create Your Account To Take This Quiz

As a member, you'll also get unlimited access to over 79,000 lessons in math, English, science, history, and more. Plus, get practice tests, quizzes, and personalized coaching to help you succeed.

Try it risk-free
Try it risk-free for 30 days. Cancel anytime
Already registered? Log in here for access

1. What do the -u and -pw switches represent in the BLAT email program?

2. In VBScript, an email is built using which one of the following components?

Create your account to access this entire worksheet
A Premium account gives you access to all lesson, practice exams, quizzes & worksheets
Access to all video lessons
Quizzes, practice exams & worksheets
Certificate of Completion
Access to instructors
Create an account to get started Create Account

About This Quiz & Worksheet

Examine your ability to comprehend the process of sending e-mails from a batch file. The quiz will test you in areas such as the type of server that allows an e-mail message to be sent and the representation of the -u and -pw switches.

Quiz & Worksheet Goals

In these assessments, you'll demonstrate your knowledge of the following areas:

  • Representation of the -u and -pw switches
  • A command that invokes the VBScript sendmail.vbs
  • The type of server that allows e-mails to be sent
  • The command that can be used to start another program
  • How an e-mail is built in VBScript

Skills Practiced

  • Interpreting information - verify that you can read information regarding sending e-mails for a batch file and interpret it correctly
  • Information recall - access the knowledge you've gained regarding the the command that can be used to start another program
  • Critical thinking - apply relevant concepts to examine information about how an e-mail is built in VBScript

Additional Learning

For more about sending e-mails from batches, review the lesson called, How to Send e-mail from a Batch File. Lesson material focuses on the following objectives:

  • Recall what batch files are and the benefits of using them
  • Review what a DNS is and its relationship between batch files and e-mails
  • Recognize the e-mail flow that occurs with SMTPs
  • Learn the various methods that are used to send e-mails from batch files, including PowerShell