954,525 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Mail script

mail -s "subject" [email]chris.collins@fuse.net[/email] < email


What can I add to this line and where to automatically create a blind carbon copy?

Also if possible what can I add to this line and where if possible to add the address from?

Thanks

chrchcol
Newbie Poster
22 posts since Aug 2005
Reputation Points: 10
Solved Threads: 0
 

ummmm

What language are you using?

If this is sendmail then:

usage: mail [-eIinv] [-a header] [-b bcc-addr] [-c cc-addr] [-s subject]
to-addr [...] [-- sendmail-options [...]]
mail [-eIiNnv] -f [name]
mail [-eIiNnv] [-u user]

techniner
Posting Pro
527 posts since May 2005
Reputation Points: 12
Solved Threads: 19
 

NO I am just using the bash mail command.

chrchcol
Newbie Poster
22 posts since Aug 2005
Reputation Points: 10
Solved Threads: 0
 

have you tried mail --help then??

it should give you the BCC optin switch

techniner
Posting Pro
527 posts since May 2005
Reputation Points: 12
Solved Threads: 19
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You