Carnegie Mellon University Website Home Page
 

Options

The massmail program also offers the following additional options:

-f <bounceaddr>
Specifies the address where bounces should be directed. This is not
the Reply-to address or the From address and can not be set inside
the message header. (defaults to current user)

-r <reply-to>
Sets the "Reply-to" address inside the message header.

-n, --noop
Suppress actually sending mail. Instead, show what messages would be
sent out. This is useful for testing mail merge results.

-v, --verbose
Print out status reports as processing continues.

-e, --embed, --headers
Instructs massmail to expect headers to be embedded in the message, separated by an empty line. These headers can override the standard headers.

For example, if you would like to make it appear that your supervisor sent the e-mail, but would like all replies to go to you, you can set the headers in the message file as such:

From: Supervisor Name <supervisoruserid@andrew.cmu.edu>
Reply-To: Your Name <youruserid@andrew.cmu.edu>
Subject: Special Announcement from the Provost

The message will then go here.

Then, when you use massmail, make sure to include the --headers option as such:
% massmail --headers userfile.txt "subjectline goes here" messagefile.txt

Last Updated: 10/10/07