- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ELM & Files Attachments
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
07-30-2002 08:00 AM
07-30-2002 08:00 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2002 08:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2002 08:04 AM
07-30-2002 08:04 AM
Re: ELM & Files Attachments
Cheers!
James
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2002 08:09 AM
07-30-2002 08:09 AM
Re: ELM & Files Attachments
i think only way to send a file with elm is
elm -s "subject" "address" < "file name"
regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2002 08:35 AM
07-30-2002 08:35 AM
Re: ELM & Files Attachments
ther are packages like mpack which do this stuff efficiently just donwload and run it with -s options , you can get more from :
http://www.stokely.com/unix.sysadm.resources/email.html#attachment.link
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2002 12:40 PM
07-30-2002 12:40 PM
Re: ELM & Files Attachments
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2002 01:08 PM
07-30-2002 01:08 PM
Re: ELM & Files Attachments
Have a look at
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x6b3fc4c76f92d611abdb0090277a778c,00.html
and read the comment of Frank Slootweg (2times) and Sanjay(!).
And ofcourse
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xdf44c4c76f92d611abdb0090277a778c,00.html
and its folluwups.
It seems that mpack really does the trick.
Succes,
Ceesjan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2002 02:00 PM
07-30-2002 02:00 PM
Re: ELM & Files Attachments
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. If you are running 10.20 make sure that you have a MIME enabled version of elm (PHNE_15835 or later).
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.
Regards, Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2002 11:32 PM
07-30-2002 11:32 PM
Re: ELM & Files Attachments
Follow Ceesjan URL, In one of them, there's a url to nail, the product i'm using, which is very easy (like mailx, with an option to send files with attachment.
regards
BEnoit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2002 12:02 AM
07-31-2002 12:02 AM
Re: ELM & Files Attachments
It would be nice to assign points. Not only for our pleasure, but we also would like to know whether or not you are helped with our effort. We wanna learn too!
Up until now, you've only assigned 50% of all responses.. :(
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2004 07:52 AM
04-22-2004 07:52 AM
Re: ELM & Files Attachments
I tried your method to attach a file (test.238.gz) to an e-mail and send it using elm.
Instead of seeing the attachment in the e-mail I recive I simply see the text [include /tmp/archcomp.238.gz HP-UX/gz base64]
Ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2004 07:56 AM
04-22-2004 07:56 AM
Re: ELM & Files Attachments
[ ==> '['
] ==> ']'
[include /tmp/archcomp.238.gz HP-UX/gz base64]
should be:
[include /tmp/archcomp.238.gz HP-UX/gz base64]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2004 05:50 AM
04-23-2004 05:50 AM
Re: ELM & Files Attachments
That worked perfectly, my file is now being attached. One last problem though. When i open the file which I name test.238.txt.gz all the spaces are removed. Is there any way I can stop this from happaning?
Thanks
Cam