- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Sending e-mail with zip file attachment via 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
Discussions
Discussions
Forums
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
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
тАО12-02-2005 05:27 AM
тАО12-02-2005 05:27 AM
Sending e-mail with zip file attachment via mailx to Outlook
Thanks for the help.
tar cvf - BRKRCM.*.csv | compress > $ZIPFILE
uuencode $ZIPFILE $ZIPFILE | mailx -m -s "EPM Broker Commission CSV File"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2005 05:31 AM
тАО12-02-2005 05:31 AM
Re: Sending e-mail with zip file attachment via mailx to Outlook
http://hpux.ee.ualberta.ca/hppd/hpux/Users/mpack-1.6/
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2005 05:50 AM
тАО12-02-2005 05:50 AM
Re: Sending e-mail with zip file attachment via mailx to Outlook
You also might try gzip instead of compress. I've *generally* gotten better compression from gzip than from compress...
HTH;
Doug
------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2005 06:08 AM
тАО12-02-2005 06:08 AM
Re: Sending e-mail with zip file attachment via mailx to Outlook
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2005 06:27 AM
тАО12-02-2005 06:27 AM
Re: Sending e-mail with zip file attachment via mailx to Outlook
You're not specifying an output file for the tar command "-" is for stdin not stdout. Might help breaking up the command line:
# tar cvf
# compress
# uuencode
cheers!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2005 06:39 AM
тАО12-02-2005 06:39 AM
Re: Sending e-mail with zip file attachment via mailx to Outlook
tar cvf - BRKRCM.*.csv | compress | uuencode $ZIPFILE | mailx -m -s "EPM Broker Commission CSV File"
As for WinZip handling compressed (Z) and tar archives, I've never had a problem. It's handled those formats for years and numerous versions.
Getting things to show up on the other end can be tricky, however. I think I've sent to Outlook clients before without the -m option on mailx.
Jeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2005 06:46 AM
тАО12-02-2005 06:46 AM
Re: Sending e-mail with zip file attachment via mailx to Outlook
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2005 07:28 AM
тАО12-02-2005 07:28 AM
Re: Sending e-mail with zip file attachment via mailx to Outlook
Linda, I don't have a way to test with Outlook and WinZIP, but, if the attachment is showing up in Outlook all right, you might try 7-Zip as an alternative to WinZIP to see if that handles the file any better. Free software and it seemed to work fine on my little test case I ran.
www.7-zip.org
Jeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2005 08:19 AM
тАО12-02-2005 08:19 AM
Re: Sending e-mail with zip file attachment via mailx to Outlook
Thanks for everyone's help.
tar cvf BRKRCM.tar BRKRCM.*.csv
gzip BRKRCM.tar
cp BRKRCM.tar.gz BRKRCM.tar.gzip
uuencode BRKRCM.tar.gzip BRKRCM.tar.gzip | mailx -m -s "EPM Broker Commission CSV File"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2005 09:19 AM
тАО12-02-2005 09:19 AM
Re: Sending e-mail with zip file attachment via mailx to Outlook
I used the same commands w/o renaming the "gz" file to "gzip" and WinZip had no problems opening them.
# tar cvf BRKRCM.tar BRKRCM.*.csv; gzip BRKRCM.tar
# uuencode BRKRCM.tar.gz BRKRCM.tar.gz | mailx -m -s "EPM Broker Commission CSV File"
my 2 cents!