- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: 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
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
тАО10-02-2000 07:29 AM
тАО10-02-2000 07:29 AM
uuencode /etc/hosts hosts.txt|sendmail user@abc.com
Sends the file as an attachment, but the file no longer looks like the source. Looks like it's a unix character tranlation issue.
Any ideas on how I can get this to work?
Thanks
Alan Karelitz
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2000 07:34 AM
тАО10-02-2000 07:34 AM
Re: Attachments
Add the following lines to /usr/share/lib/mailx.rc
set charset=X-roman8
set charset=us-ascii
Then stop and restart sendmail
Berlene
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2000 07:43 AM
тАО10-02-2000 07:43 AM
SolutionTry converting the file with 'ux2dos' first.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2000 08:08 AM
тАО10-02-2000 08:08 AM
Re: Attachments
.Yes- you can send a file as a TRUE file
attachment and actually preserve what the file is...here is
the info:
First make sure you at least have Elm 2.4 on your box,
and my example is for a HPUX 10.20 (you need MIME
capability) so be sure you have patch PHNE_15835 (it
doesn't cause a reboot to load).
The next thing you have to do is create a small file (ex
include.file) that is used to send the file as an attachment.
There are a few things you could read on this for more
details at HP's IT Resource if you want. But simple create
a file with this syntax:
[include text.txt text/plain base64]
where text.txt is your file.
The general format is: [include filename type/subtype
encoding]
type/subtype= text/plain, image/gif, image/jgp etc..
encoding=base64, quoted-printable etc...
Another example might be for a Word doc:
[include file.doc application/msword base64]
Now from the command line to send this file as an
attachment to user_abc:
elms -s 'Test attachment file' user_abc@your_org.com
What this did was email to user_abc@your_org.com the
file test.txt with a subject line of Test attachment file. If you
sent a Word doc it would come across and be a Word file
attachment.
You can do it with text files; image.jpg or gif files; and
more. ....It's a real paper saver.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2000 09:47 AM
тАО10-02-2000 09:47 AM
Re: Attachments
I tried your suggeston, but it had no effect.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2000 09:50 AM
тАО10-02-2000 09:50 AM
Re: Attachments
The method that you suggested worked very well, but I can't be sure that the end users is going to be on a Windows Platform.
Thanks