![]() |
|
|
|
|
|||||||
| UNIX Desktop for Dummies Questions & Answers Questions regarding GNOME, KDE, CDE, Open Office, etc go 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 attachment without uuencode | panchpan | UNIX for Advanced & Expert Users | 3 | 03-14-2008 05:08 AM |
| problem with uuencode | rjsha1 | Shell Programming and Scripting | 4 | 08-23-2007 08:12 AM |
| Problem with uuencode | markms | Shell Programming and Scripting | 0 | 04-07-2006 09:13 AM |
| Uuencode problem in mail attachment | mvalonso | UNIX for Dummies Questions & Answers | 8 | 03-16-2006 09:38 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi All,
I am using unix's sendmail utility to send mails with attacments. I am using the uuencode command for attachments (zip). When i send the mails to some account which is configured in the MS outook it opens/unzip the attachments with no problem. But the same attachments seems to be getting corrupt while downloading from some other mails like the yahoo or hotnmail. This problem is driving me crazy for a long time. Can anyone letme know the reason behind this issue. I am using sun solaris 8 Regards Manoj |
| Forum Sponsor | ||
|
|
|
|||
|
I've got the same problem with mailx.
Even trying something like this isn't showing up as an attachment on web-based email (Gmail) ( echo "Email text" echo "etc" uuencode /path/to/sourcefile.txt sourcefile.txt ) | mailx -s "Email subject" "recipient@company.com" |
|
|||
|
making attachment visible via web mail
Here's what we got working. The aim was to attach a file (defined here as $account_file).
echo "From: ${from_email_address}" > $MSG_FILE echo "To: ${to_email_address}" >> $MSG_FILE echo "Subject: ${Subject_Text}" >> $MSG_FILE echo "Mime-Version: 1.0" >> $MSG_FILE echo 'Content-Type: multipart/mixed; boundary="GvXjxJ+pjyke8COw"' >> $MSG_FILE echo "Content-Disposition: inline" >> $MSG_FILE echo "" >> $MSG_FILE echo "--GvXjxJ+pjyke8COw" >> $MSG_FILE echo "Content-Type: text/plain" >> $MSG_FILE echo "Content-Disposition: inline" >> $MSG_FILE echo "" >> $MSG_FILE echo "blah blah... (email content)" >> $MSG_FILE echo "" >> $MSG_FILE echo "" >> $MSG_FILE echo "--GvXjxJ+pjyke8COw" >> $MSG_FILE echo "Content-Type: text/plain" >> $MSG_FILE echo "Content-Disposition: attachement; filename=${account_file}" >> $MSG_FILE echo "" >> $MSG_FILE echo "" >> $MSG_FILE cat $account_file >> $MSG_FILE cat $MSG_FILE | /usr/lib/sendmail -t |
|||
| Google UNIX.COM |
| Tags |
| mailx, mailx attachment |
| Thread Tools | |
| Display Modes | |
|
|