Visit Our UNIX and Linux User Community


Read mail attachments in AIX


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Read mail attachments in AIX
# 1  
Old 02-06-2015
Read mail attachments in AIX

Hello All,

Is there a way to read/view email attachments in AIX?

Here's my scenario; I have users that will being scanning documents for digital storage. To make it easier for the users, I would like for them to scan and email the pdf version of the document directly to one of my AIX servers. I can get the mail and attachment to the server no problem, but how to I read/extract the attachment?
# 2  
Old 02-06-2015
Quote:
Originally Posted by bbbngowc
Hello All,

Is there a way to read/view email attachments in AIX?

Here's my scenario; I have users that will being scanning documents for digital storage. To make it easier for the users, I would like for them to scan and email the pdf version of the document directly to one of my AIX servers. I can get the mail and attachment to the server no problem, but how to I read/extract the attachment?
This is not specific to AIX. You need a viewer program for specially formatted files and this is no exception. For PDF-files you need a PDF-viewer, like Acrobat Reader or one of the myriad of other programs. All the programs i know of are X-clients, so you need to take precautions that the server in questions is able to connect to your local X-server to display an X-client (you might need to add the server to the allowed client list locally with "xhost", allow the X-protocol over the firewall, create a tunnel for this or the like, depending on your environment).

I hope this helps.

bakunin
# 3  
Old 02-09-2015
With regards to easy extraction and naming of attachments, the program I love is uudeview:

Index of /download/RPMS/uudeview

YMMV
# 4  
Old 03-05-2015
the 'old way' to read your emails if you have mailboxes on unix server

telnet localhost port 110

--example
telnet localhost 110
Connected to localhost.
Escape character is '^]'.

user darth
pass vader
list <--- will show a list of mails with index number
retr 5 <--- will retrieve mail number 5

of course only ascii in the mail can be seen if you have attachment it will just print the garbage character equivalent. you can of course point office communicator email like outlook to server and download email to view attachment.

as a side note such old style mailboxes on unix is very hackable very unsafe if your organization is still using this cheap method.

Previous Thread | Next Thread
Test Your Knowledge in Computers #284
Difficulty: Easy
AIX (Advanced Interactive eXecutive) is a series of proprietary Unix operating systems developed and sold by Digital Equipment Corporation (DEC) for several of its computer platforms.
True or False?

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Adding Attachments to mail

Hi, I need to send a mail with html code in body and an attachment along with the body and subject. The html code must display a table with data in it in the mail. I have tried the 'sendmail' command, but I am am able to display the table in the mail and unable to attach an attachment. ... (5 Replies)
Discussion started by: Durga Prasad NK
5 Replies

2. Shell Programming and Scripting

Format text in mail attachments

Hi Gurus, I am working on a script that sends a text file attachment on mail from unix server to my widows outlook mail box. When i see the text file in UNIX it is perfectly formatted but when i open the same file in the mail, it looks weird as the next line is added to the same line. For... (10 Replies)
Discussion started by: jayadanabalan
10 Replies

3. Shell Programming and Scripting

Reading Mail attachments using unix

:wall:hi all, please somebody can help me out in reading the pop3 mail attachments or saving it locally i have a mail account where i receive .csv attachments i need to read that attachments and process them. any sample code can be much appriciated Removed email :wall: (3 Replies)
Discussion started by: srikanthkadapal
3 Replies

4. Shell Programming and Scripting

Problem with multiple mail attachments

Hi everyone... I am facing problem with the multiple mail attachments. cd /work/mohan/pi_log/ mail_file='uuencode ahmedabad.csv ahmedabad.csv ; uuencode ahmedabad_devrpt_20110530.csv ahmedabad_devrpt_20110530.csv' ( $mail_file ) | mailx -m -s"test" domain@website.com its giving me error... (1 Reply)
Discussion started by: mohanm
1 Replies

5. UNIX for Advanced & Expert Users

Mail attachments getting corrupted...

Hi , Whenever I try to send mails with attachments to external email Id's the attachment is not encoded properly which appears along with body (text) of the mail. The attachement is always getting corrupted. Can anyone please suggest a solution. Regards, Sandipan (1 Reply)
Discussion started by: Sandipan
1 Replies

6. Solaris

mail with attachments

I want to send a mail with three attachments, but nothing happened. I tried it with mail and mailx. Are there special options for these commands or is it not possible to send mails under Solaris with attachments? Must there be special adjustments in the environment? Can anyone give an... (6 Replies)
Discussion started by: ninjadan
6 Replies

7. AIX

Send mail attachments and have a mail body

Hi, How can I send mail attachments from shell script (AIX) and have a mail body as well ? Thanks in advance. (1 Reply)
Discussion started by: shibajighosh
1 Replies

8. UNIX for Dummies Questions & Answers

sending attachments in mail

Hi , i have tried the following command to send an email with an attachment its working fine but i am getting mail with the embeded content inside the mail that too truncated. i wanted it as an attachment. /usr/lib/sendmail -F "MAC SIA" address "rajendra@abc.com.sg" -t <... (6 Replies)
Discussion started by: rajendragora
6 Replies

9. UNIX for Dummies Questions & Answers

file name got cut when using mail attachments

I am using the following command to send a zip file as an attachment to my internet email-id. uuencode ABC_DEFG_HIJ.zip ABC_DEFG_HIJ.zip | mail -s "attachment from shell" pal@yahoo.com Eventhough i have given the attached file as 'ABC_DEFG_HIJ.zip', when i receive the mail in my internet... (3 Replies)
Discussion started by: Pal
3 Replies

10. UNIX for Dummies Questions & Answers

mail attachments

I'm writing scripts on HP-UX. Is there a way to attach a file to a mail message. I don't want to imbed the data in the mail message. (1 Reply)
Discussion started by: Multithreaded
1 Replies

Featured Tech Videos