- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- elm command line options for Cc:?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2000 12:31 PM
11-09-2000 12:31 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2000 02:12 PM
11-09-2000 02:12 PM
Re: elm command line options for Cc:?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2000 02:57 PM
11-09-2000 02:57 PM
Re: elm command line options for Cc:?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2000 02:21 AM
11-10-2000 02:21 AM
Re: elm command line options for Cc:?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2000 06:39 AM
11-10-2000 06:39 AM
Re: elm command line options for Cc:?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2000 09:27 AM
11-10-2000 09:27 AM
SolutionI'm pretty sure you can do it (completely non-interactively) with 'sendmail,' with a command line something like this:
sendmail addr1@yourcompany.com [addr2 addr3 ... ] <
Subject: Testing...
Hello world!
EOF
Most shells should support the 'here' document notation (read text up to 'end-of-input' marker "EOF")--ksh, csh, and sh do for sure. You can either specify the 'to' addresses as arguments to sendmail, or give the '-t' option to sendmail and include them in the here document--which constitutes the headers *and* body of the message. You might have to use the '-t' option regardless in order for the 'Cc:' header to be recognized, I'm not sure.
You can specify any other headers you like in the here document, since they will end up being the 'real' RFC-822 headers of the outgoing message. I like to reference the name and version of the script that's doing the mailing in the 'X-Mailer' header. RFC-822 provides for 'user-defined fields,' which start with the string "X-", so you can include any other information you want to in custom 'X-' headers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2000 09:30 AM
11-10-2000 09:30 AM
Re: elm command line options for Cc:?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2000 09:32 AM
11-10-2000 09:32 AM
Re: elm command line options for Cc:?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2000 10:49 AM
11-10-2000 10:49 AM
Re: elm command line options for Cc:?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2000 07:01 PM
11-10-2000 07:01 PM
Re: elm command line options for Cc:?
I wanted something that didnt need interaction and would allow me to send email w/ a Cc: to someone. couldnt find a way to do it w/ elm unless interaction was used and I didnt think to use sendmail or the options to use.
Thanks again.