- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Attching a "zipped" tar file to mail message
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
Forums
Discussions
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
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
05-23-2003 06:54 AM
05-23-2003 06:54 AM
Attching a "zipped" tar file to mail message
Anu ideas?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2003 07:08 AM
05-23-2003 07:08 AM
Re: Attching a "zipped" tar file to mail message
Within the body of your email add this:
------------------------------------
This is my text. How are you?
[include /tmp/myattach application/octet-stream base64]
This is some more text in the middle.
[include /tmp/myexcel.xls application/ms-excel base64]
This is a closing message in the email.
----------------------------------------
That will attach /tmp/myattach and /tmp/myexcel.xls. You can include multiple attachments using this method.
Then to use it from a script:
elm -s "My Subject" user@mailserver.com < myletter
Where myletter contains the attachment include statement as well as your message text. It is also necessary that you have a .elm directory
under the users home directory becuase unlike the interactive version of elm the command-line version will not create a .elm directory automatically.
You probably only need the first example using the "octet-stream".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2003 07:08 AM
05-23-2003 07:08 AM
Re: Attching a "zipped" tar file to mail message
[include mydata.tar.Z application/octet-stream base64]
Then simply run ..
$ elm johndoe@outlook.com < mydata.tar.Z
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2003 07:15 AM
05-23-2003 07:15 AM
Re: Attching a "zipped" tar file to mail message
http://hpux.ee.ualberta.ca/hppd/hpux/Users/mpack-1.5/
Mpack and munpack are utilities for encoding and decoding
(respectively) binary files in MIME (Multipurpose Internet Mail
Extensions) format mail messages.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2003 07:17 AM
05-23-2003 07:17 AM
Re: Attching a "zipped" tar file to mail message
You can try using the "elm" program interactively to send a tar file as an attachment. It is very intuitive, easy to use.
Hai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2003 07:20 AM
05-23-2003 07:20 AM
Re: Attching a "zipped" tar file to mail message
mpack , elm can help you , you can get more of such handy tools at :
http://www.stokely.com/unix.sysadm.resources/email.html
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2003 07:28 AM
05-23-2003 07:28 AM
Re: Attching a "zipped" tar file to mail message
The include string does not seem to work on my OS. I get an "include not found" message. Is this part of an add on to HP-UX?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2003 07:31 AM
05-23-2003 07:31 AM
Re: Attching a "zipped" tar file to mail message
Attached.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2003 07:35 AM
05-23-2003 07:35 AM
Re: Attching a "zipped" tar file to mail message
It's REALLY a good idea to identify your OS when posing questions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2003 07:35 AM
05-23-2003 07:35 AM
Re: Attching a "zipped" tar file to mail message
It's REALLY a good idea to identify your OS when posing questions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2003 07:35 AM
05-23-2003 07:35 AM
Re: Attching a "zipped" tar file to mail message
It's REALLY a good idea to identify your OS when posing questions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2003 07:36 AM
05-23-2003 07:36 AM
Re: Attching a "zipped" tar file to mail message
It's REALLY a good idea to identify your OS when posing questions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2003 07:36 AM
05-23-2003 07:36 AM
Re: Attching a "zipped" tar file to mail message
It's REALLY a good idea to identify your OS when posing questions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2003 07:40 AM
05-23-2003 07:40 AM
Re: Attching a "zipped" tar file to mail message
If you are running HP-UX 10.20 then you will need to install PHNE_24520 to MIME enable elm.