Issue with opening the UNIX mailx attachments on iPhone/iOS


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Issue with opening the UNIX mailx attachments on iPhone/iOS
# 1  
Old 02-15-2017
IBM Issue with opening the UNIX mailx attachments on iPhone/iOS

I have created a simple log file (abc.log) with Hello World, from my UNIX script. At the end of the script, I have attached the log to my email using uuencode & mailx command.

THe email was send successfully and opening on my desktop without any issues.

I have the email sync with my iPhone too. When I tried to open the same attachment (abc.log), it is opening and showing all junk data.

I made a try with BlackBerry 10 device, it is opening without any issues.

I am using AIX 7.1 and latest iOS.

Please suggest, if I can try any other way ?
# 2  
Old 02-15-2017
Many modern mail clients have abandoned uuencode and only show base64 attachments.
# 3  
Old 02-15-2017
Is there any thing I can do before attaching the file to mailx command, so that it can be readable ? or it is a limitation ?
# 4  
Old 02-15-2017
mailx is not the problem it's uuencode. Check if your uuencode utility supports --base64.
# 5  
Old 02-16-2017
Can you please let me know, how to check it ?
# 6  
Old 02-16-2017
Does it print an error message when you run uuencode --base64 ?
# 7  
Old 02-16-2017
Code:
 $ uuencode --base64
begin 622 --base64

This is what received, when I type in command line and it is waiting. I gave CTL+C after some time.
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Mailx sending attachments to personal email, but not SharePoint?

Hello! I am writing a KornShell script that (in addition to other things) sends a file from a Unix directory to a SharePoint directory. However when executing the script there is no sign of the file on the SharePoint. I have tested the script using my personal email as the destination and the... (3 Replies)
Discussion started by: mattkoz
3 Replies

2. Shell Programming and Scripting

Sending Multiple Attachments using MAILX

I have created a shell scripts and wanted to email users multiple attachments using mailx. I noticed that when I do a man on mailx I see and -a option for attachments. When I run a: mailx -s "test attachments" -a include_file -a exclude_file testuser@mydomain.com (Interrupt -- one more to... (1 Reply)
Discussion started by: metallica1973
1 Replies

3. Shell Programming and Scripting

Not able to send multiple attachments using uuencode and mailx

Hi, I am seeing some junk characters when I attach the second file, given below is the logic I used. Please help me resolving the issue. ( uuencode file1.txt file1.txt.lst && uuencode file2.txt file2.txt.lst ) > attachment.txt cat body.txt attachment.txt > combinemail.txt mailx -m... (7 Replies)
Discussion started by: prasperl
7 Replies

4. UNIX for Dummies Questions & Answers

Using mailx to save attachments

Hi, I have a requirement to save a mail attachment sent from Windows to a Solaris 9 server. I'm using mailx on the server and have seen a few examples of how to attach a file for sending but none for how to save the attachment when receiving. I can see the encoded text when I look at... (2 Replies)
Discussion started by: Jublio
2 Replies

5. AIX

Aix Unix Mailx Attachments

I'm trying to send a mailx with an attachment, really I have not do it in a long time. I forgot (3 Replies)
Discussion started by: darioa
3 Replies

6. UNIX for Advanced & Expert Users

Problem with multiple excel attachments using mailx

I have written the following code send multiple attachments using mailx (uuencode file1 file1; uuencode file2 file2; uuencode file3 file3;) | mailx -s MultipleAttachments -r Sysadmin abc@xyz.com The attachments are coming properly if the file1,2,3 are either pdf, text, doc. But if these files... (2 Replies)
Discussion started by: ramanam2004
2 Replies

7. Shell Programming and Scripting

ksh : using mailx and attachments

Hi I want to use mailx command to send a message included more than one file. I tried to use uuencode in pipe but it could only generate one file. I would avoid using an archive file :p Thanks to read you. Mathieu (2 Replies)
Discussion started by: madmat
2 Replies
Login or Register to Ask a Question