ken bohnenkamp
3rd October 2013, 18:45
I am using the unix code below to email out 2 attachments to external customers. My customers say that they can't open the attachments. One of my files is a PDF and the other is a TXT file. Some say that the attachments look like a bunch of garbage letters that they can't make out. Any one have any idea's? If I email to Gmail, the attachments look fine and I can open them but if I email to yahoo, the attachments look like a bunch of garbage letters.
(cat $BODYTEXT; uuencode $TMPDIR/$BASENAME $TMPDIR/$BASENAME; uuencode $7 $7) | mailx -s "$1" $EMAIL
:(
(cat $BODYTEXT; uuencode $TMPDIR/$BASENAME $TMPDIR/$BASENAME; uuencode $7 $7) | mailx -s "$1" $EMAIL
:(