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-16-2001 11:29 AM
07-16-2001 11:29 AM
For EXAMPLE: If I have a script and it is e-mailing users on issues and I want to attach a file and have it show up within the e-mail but not active. The user would need to select it before being able to read it.
R-
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2001 12:52 PM
07-16-2001 12:52 PM
Re: Elm
Yes, it's actually quite easy.
Within the body of your email add this:
[include /tmp/myattach application/octet-stream base 64]
That will attach /tmp/myattach. You can include multiple attachments using the same 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.
Regards, Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2001 05:54 AM
07-17-2001 05:54 AM
Re: Elm
It works, kinda. It created two files. One file specifies the whole path to my file. The other file containes the message, with the recipients. So what I'd like is only the one file. is there a switch that will turn off the send file?
R-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2001 07:43 AM
07-17-2001 07:43 AM
Re: Elm
I don't understand your question. If the 'myletter' file contains the include statement along with any desired message text then each addressee should see your message text and "myattach" within the email as an attachment. Are you looking for something different?
Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2001 07:57 AM
07-17-2001 07:57 AM
Re: Elm
What we are getting with your syntax is the mail message with two attachments inside of it. The first attachment inside of the mail message has the information we wanted to send along with the include statement at the top. The second attachment is exactly what we want. It contains on the information of the attachment. The question is how do we get ride of the first attachment inside of the mail message?
R-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2001 08:27 AM
07-17-2001 08:27 AM
Re: Elm
I think I see the problem. My posting should have read 'base64' rather than 'base 64'. This pesky UNIX, spelling counts!
Sorry about that, Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2001 08:38 AM
07-17-2001 08:38 AM
Re: Elm
R-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2001 12:53 PM
07-17-2001 12:53 PM
SolutionI see what happened now. You improved the code to text/plain type and subtype. Most mail programs will simply include text in the body
of the document not what you want. Leave it octet/stream and either base64 or quoted-printable encoding and you should be fine.
I've attached a fully functional version which sends the same message with attachment to 2 users.
Hopefully we're done, Clay