![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Sending multiple attachments | deo2k8 | Shell Programming and Scripting | 1 | 01-07-2008 09:12 PM |
| Sending Attachments Through mailx | vrk1219 | HP-UX | 4 | 08-27-2007 08:06 AM |
| sending attachments in mail | rajendragora | UNIX for Dummies Questions & Answers | 6 | 01-31-2007 08:13 PM |
| sending files as attachments | SmartJuniorUnix | How do I send email? | 9 | 04-13-2001 04:34 AM |
| sending files as attachments | SmartJuniorUnix | UNIX for Dummies Questions & Answers | 9 | 04-13-2001 04:34 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi,
I need to send a mail attachment from the UNIX commandline. I'm using Tru64 and the mail client thats supposed receive the attached file (an excel sheet) is Lotus Notes. Can anybody help me out? |
| Forum Sponsor | ||
|
|
|
|||
|
I have used the following command line to send an Excel Spreadsheet as an attachment.
(cat /tmp/message.body; uuencode /tmp/VALSP.xls VALSP.xls)| mailx -s "Company Service Orders import file" user@xyz.com The command assumes that the message body is in the file /tmp/message.body' and the xls file is in /tmp/VALSP.xls |
|
|||
|
Sending attachments---observation,plz suggest
I am noticing sthing funny now----whenever I send an XL file as an attachment, when I open my inbox, I am unable to see the "paper clip" icon that tells you that the mail contains an attachment. But try the same with a JPG file, and I can see the icon.
Am I missing sthing in the MIME? Then why is it tht i see the discrepancy in the 2 cases?What could be leading to this? |
|
|||
|
You weren't sending the message using MIME. The format is very different and the encoding is Base64 not UUENCODE.
Your mail client doesn't even have to interpret this as an attachment since uuencoded messages are just text anyway. The mail client has to guess at the file's format when it determines that a uuencoded message text is found. MIME is also converted to text but doesn't have to guess what the file format is since it's specified in the MIME header. You can define your own MIME message segments but they are simply painful. I needed to do this many years ago when email clients were less sofisticated but now it's really not necessary. You can get a basic idea of MIME's complex structure here. Last edited by tmarikle; 09-30-2005 at 08:51 AM. |
|
|||
|
|||
|
Quote:
|
|||
| Google The UNIX and Linux Forums |
| Tags |
| mailx, mailx attachment |
| Thread Tools | |
| Display Modes | |
|
|