GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: mailx attachments
Operating System - HP-UX
1850598
Members
3476
Online
104054
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
back
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
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
02-07-2002 01:42 PM
02-07-2002 01:42 PM
mailx attachments
Is it possible to attach more than one ascii file to a mailx message? That is, does mailx support multiple file attachments?
Thanks
Thanks
When the only tool you own is a hammer, every problem looks like a nail!
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2002 05:11 PM
02-19-2002 05:11 PM
Re: mailx attachments
Roger,
Sure ...
Suppose if there are mutiple files in your directory called "test1, test2, test3....." you could try something like this
for File in `ls -1|grep test`; do
uuencode ${File} ${File.txt} | mailx -m -s 'test' mail@addr.com
done
you could also try sendmail in place of mailx and also elm..
There are many threads out there in the forum... try a search with "mailx" "attachment".. and you will see what I am mean..
Thanks,
Shabu
Sure ...
Suppose if there are mutiple files in your directory called "test1, test2, test3....." you could try something like this
for File in `ls -1|grep test`; do
uuencode ${File} ${File.txt} | mailx -m -s 'test' mail@addr.com
done
you could also try sendmail in place of mailx and also elm..
There are many threads out there in the forum... try a search with "mailx" "attachment".. and you will see what I am mean..
Thanks,
Shabu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2002 01:05 AM
02-20-2002 01:05 AM
Re: mailx attachments
Hi Roger,
Here's what I'd use, e.g.:
(echo here they are
uuencode /tmp/h1 /tmp/h1.txt
uuencode /tmp/g1 /tmp/g1.txt) |
mailx -m -s "multi files" robin.wakefield@ubsw.com
Rgds, Robin.
Here's what I'd use, e.g.:
(echo here they are
uuencode /tmp/h1 /tmp/h1.txt
uuencode /tmp/g1 /tmp/g1.txt) |
mailx -m -s "multi files" robin.wakefield@ubsw.com
Rgds, Robin.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP