- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: uuencode decoding.
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
10-03-2002 11:26 AM
10-03-2002 11:26 AM
I am using the uuencode option pipe to mailx for file attachment within mail. I receive the file on my microsoft exchange as an attachment, but at my yahoo address and another other person using Lotus Notes the mail it comes in still uuencoded as part of the text
# If the input file is available do a uuencode for attachments and process
if [ -r $MFILE ];then
SUBJ=`cat $SUBF`
/usr/bin/ux2dos $MFILE > ${MFILE}.txt
uuencode ${MFILE}.txt ${MFILE}.txt | mailx -s "$SUBJ" "$MRCEP"
The above 2 lines are one it wrapped. The SUBJ and MRCEP are set earlie
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2002 12:03 PM
10-03-2002 12:03 PM
Re: uuencode decoding.
Try adding the "-m" option to mailx:
uuencode ${MFILE}.txt ${MFILE}.txt | mailx -m -s "$SUBJ" "$MRCEP"
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2002 11:00 AM
10-04-2002 11:00 AM
Re: uuencode decoding.
dl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2002 11:04 AM
10-04-2002 11:04 AM
Re: uuencode decoding.
"[include ${MFILE}.txt text/plain base64]" function that Rita has been pushing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2002 11:39 AM
10-04-2002 11:39 AM
Re: uuencode decoding.
I just went through some pain setting up elm using an include file. For some reason, using text/plain did not work for Notes. Using application/octet-stream did.
Just in case you run into the same issue.
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2002 11:47 AM
10-04-2002 11:47 AM
Re: uuencode decoding.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2002 11:57 AM
10-04-2002 11:57 AM
SolutionTo complete my thought, the text was sent to Notes even when I used text/plain but it was in the message body (even though Notes indicated an attachment). My requirement was for it to be an attachment. Using application/octet-stream worked well to both Notes and my personal Outlook client.
And as you did, I used ux2dos before sending.
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2002 12:01 PM
10-04-2002 12:01 PM
Re: uuencode decoding.
By the way, I posted a question on the Sun Forum site a day ago and still haven't heard one word, very seldom do I get responses. The HP forums is just so great.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2002 12:07 PM
10-04-2002 12:07 PM
Re: uuencode decoding.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2002 12:14 PM
10-04-2002 12:14 PM
Re: uuencode decoding.
[include file.txt application/octet-stream base64]
My script contains:
ux2dos infile >file.txt
elm -s "Subject" someone@somewhere.com
By the way, I did this on HP-UX 11.0, not Solaris. I didn't mean to give you that impression. I simply thought you might run into the same thing.
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2002 12:20 PM
10-04-2002 12:20 PM