The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > UNIX Desktop for Dummies Questions & Answers
.
google unix.com



UNIX Desktop for Dummies Questions & Answers Discuss UNIX and Linux user interfaces like GNOME, KDE, CDE, and Open Office here. All UNIX and Linux Newbies Welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
problem with uuencode rjsha1 Shell Programming and Scripting 9 04-29-2009 08:15 AM
Binary txt file received when i use uuencode to send txt file as attachment ash22 UNIX for Dummies Questions & Answers 2 04-24-2008 08:03 PM
send attachment without uuencode panchpan UNIX for Advanced & Expert Users 3 03-14-2008 09:08 AM
Problem with uuencode markms Shell Programming and Scripting 0 04-07-2006 12:13 PM
Uuencode problem in mail attachment mvalonso UNIX for Dummies Questions & Answers 8 03-16-2006 01:38 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-14-2004
manojram manojram is offline
Registered User
  
 

Join Date: Aug 2003
Posts: 5
Question uuencode for attachment giving problem

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
  #2 (permalink)  
Old 02-28-2007
GavP GavP is offline
Registered User
  
 

Join Date: Feb 2007
Posts: 4
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"
  #3 (permalink)  
Old 04-24-2007
GavP GavP is offline
Registered User
  
 

Join Date: Feb 2007
Posts: 4
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
  #4 (permalink)  
Old 11-19-2008
PaulDupre PaulDupre is offline
Registered User
  
 

Join Date: Nov 2008
Location: Southern California
Posts: 1
Thanks, GavP!!

Thanks for this method for emailing from Unix without uuencode! It solves a problem I've been struggling for weeks to solve.
God love you,
Paul
Sponsored Links
Closed Thread

Bookmarks

Tags
mailx, mailx attachment

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 12:48 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0