hi all,
i get the following error when i try and email a file as an attachment on a solaris box. the command is
/usr/bin/uuencode $fileName $fileName | /usr/bin/mailx -s "file" $emailTo
and the error is :
/usr/bin/uuencode: ISO8859-1 to 646 conversion: Invalid argument
The funny thing is that the email shows up in the inbox fine with the attachement !! why does it throw the error then ??
thanks in advance.
zaxxon
August 17, 2009, 3:35am
2
Tried it with another file? There should be also a lot of posts in the forum here if you search for any combination of "mail attachment uuencode" to get more examples etc.
methyl
August 17, 2009, 9:34am
3
If the output is to a pipeline you do not specify an output filename on the command line.
/usr/bin/uuencode $fileName |
but the command works i.e it successfully sends the email out. i dont know how to supress the below message after the email command is issued.
"uuencode: ISO8859-1 to 646 conversion: Invalid argument"