- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Attaching multiple files to sendmail or mailx
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
03-07-2005 10:14 PM
03-07-2005 10:14 PM
Attaching multiple files to sendmail or mailx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2005 10:27 PM
03-07-2005 10:27 PM
Re: Attaching multiple files to sendmail or mailx
u may like to refer to this thread:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=482848
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2005 10:28 PM
03-07-2005 10:28 PM
Re: Attaching multiple files to sendmail or mailx
###########################
mailx -m -s "Your subject" -r fromaddress@yourdomain.co.uk address.one@otherdomain.org
.uk, address.two@yetanotherdomain.co
.uk, <<-EOF >$LOG 2>&1
To Whom it may concern
Please find attached Files for today
Please note this email was system generated
`ux2dos log.txt | uuencode log.txt`
`ux2dos log_errors.txt | uuencode log_errors.txt`
Our Company Name
EOF
###########################
You must uuencode all attachments.
ux2dos ensures that text attachments will be readable on a PC.
The -r flag to mailx specifies the reply-to address
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2005 10:45 PM
03-07-2005 10:45 PM
Re: Attaching multiple files to sendmail or mailx
done|mailx -m -s "test" username@whereever.com
live free or die
harry d brown jr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2005 12:23 AM
03-08-2005 12:23 AM
Re: Attaching multiple files to sendmail or mailx
Personally I like to use the include statement file with elm. I've used it to script sending multiple files that change everyday, and it worked nicely.
Here's one thread on it.
http://forums1.itrc.hp.com/service/forums/parseCurl.do?CURL=%2Fcm%2FQuestionAnswer%2F1%2C%2C0x41950559ff7cd4118fef0090279cd0f9%2C00.html&admit=716493758+1091120147036+28353475
Regards,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2005 10:34 AM
03-09-2005 10:34 AM
Re: Attaching multiple files to sendmail or mailx
As noted with a link in a previous post there are examples out there.
Attached is the latest doc of examples I keep handy.
Best of luck.
Regards,
dl