![]() |
|
|
|
|
|||||||
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Binary txt file received when i use uuencode to send txt file as attachment | ash22 | UNIX for Dummies Questions & Answers | 2 | 04-24-2008 05:03 PM |
| Send email from unix (AIX) with PDF attachment | sunjup | AIX | 0 | 03-14-2008 12:12 PM |
| send email from unix with attachment | chiru_h | Shell Programming and Scripting | 1 | 08-13-2007 10:18 AM |
| HELP!!! how to send PDF file as an attachment using mailx | Brat | Shell Programming and Scripting | 1 | 05-16-2005 09:20 PM |
| Send a *.pdf file as a attachment | scotty | UNIX for Dummies Questions & Answers | 3 | 01-15-2002 01:21 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
How do I send a file as an attachment (gzip file) on a Unix system
Hi,
How do I send a file as an attachment (gzip file) on a Unix system ? Using sendmail. Please help me. |
| Forum Sponsor | ||
|
|
|
|||
|
I'm trying to send a mail from unix with a attach gzip file with the follow parameters:
Content-Type: application/x-gzip; name="xpto.txt.gz" Content-Transfer-Encoding: x-gzip Content-Disposition: inline;filename="xpto.txt.gz" MIME-Version: 1.0 When I receive the mail in outlook and I try to decompress the file with winzip, give an error telling the file is corrupt. What is wrong with these parameters ? Best regards.
__________________
Thanks, Lacca |
|
||||
|
It is probably a version problem between gzip and winzip.
I first sent a gzipped file to NT and tried to open it. I used gzip version 1.2.4 (very old Aug 93) and WinZip 7.0. WinZip didn't want to look at the file - gave me an option to use WinZip classic which did open the gzipped file. I then used the commands found in the different questions answered in the past about mailing attachments. I mailed the gz file which showed up as an attachment in Outlook. I saved it to disk, opened up WinZip (used classic) and it worked fine. Command used: uuencode messages.0.gz newmess.txt |mailx -s"test" myself@mydomain.com |
||||
| Google UNIX.COM |
| Tags |
| mailx, mailx attachment |
| Thread Tools | |
| Display Modes | |
|
|