command line mail examples - TO, CC and BCC recipients

How to send command line mail with command line email using TO, CC (Carbon Copy) and / or BCC (Blind Carbon Copy) recipients?

CC (Carbon Copy): recipients of a message are the persons you are sending to the primary recipient. CC recipients receive the message normally, but they do not see themselves as the primary recipient of the message (all CC recipients are listed in the message header).

BCC (Blind Carbon Copy): if you do not want the primary addressee to know that the message is sent to somebody else. This may be helpful when it is necessary to send a notifying message to a huge group of people.

Example: simple mail message using -FROM, -TO, -TEXT and -CC parameters.

C:\>febootimail -FROM john@sender.com -TO cmd@dos-email.com -TEXT Command line mail and Carbon Copy -CC smith@recipient.com

Example: e-mail message using -FROM, -TO, -TEXT and -BCC parameters.

C:\>febootimail -FROM john@sender.com -TO cmd@dos-email.com -TEXT Command line mail and Blind Carbon Copy -BCC smith@recipient.com

Note: in command line email examples above, localhost (127.0.0.1) is used as SMTP mail server. If you are not using Febooti Command line email on server and, if there is no local SMTP server, specify SMTP server using -SMTP parameter. If SMTP server authentication is required, use -AUTH, -USER and -PASS parameters.

Example: authenticate with external SMTP mail server.

C:\>febootimail -FROM john@sender.com -TO cmd@dos-email.com -TEXT "Authentication & DOS e-mail copies" -CC smith@recipient.com -BCC johnny@recipient.com -SMTP email.server.com -AUTH AUTO -USER john -PASS ********
Additional Command line email notes and resources:

Please do not hesitate to contact our support department with any possible further questions or to solve practical issues connected with Command line email.

Copyright © 2001-2011 Febooti Software. All rights reserved. Last updated: November 03, 2008