ot: mail flag for attachment in unix
Bill Campbell
bill at celestial.com
Wed Sep 30 11:32:57 PDT 2009
On Wed, Sep 30, 2009, Kenneth Brody wrote:
>Dennis Malen wrote:
>> Thanks for the responses. AIX did not have mutt. The following did work as suggested by Scott:
>>
>> uuencode test.txt test.txt|mail -s "Attach a file" email at email.com
>>
>> Fairlight suggested that uuencode may be a problem. Is uuencode unstable and something I should not rely on? And if so, is there anything else I should use.
>>
>> In the meantime I will use uuencode.
>
>I didn't see anything in Fairlight's e-mail that said uuencode may be a
>"problem". Rather, he pointed out that the method above is _not_ creating
>an attachment, but rather "inline embedding", and that not all e-mail
>clients nowadays will recognize embedded uuencoded text. (Instead, you'll
>simply see a bunch of "garbage" in the message body.)
As I remember, and it's been a long time since I looked at this,
uuencode may have issues encoding/decoding some things. Google
will probably find the answers to this.
It's also been a long time since I did any serious work on AIX
and had access to any AIX systems to see what's available. If it
has perl or python, then there are fairly easy ways to create
scripts to do what you want. I could put something together in
python pretty quickly. Perl would take a bit longer as I haven't
done much perl in about 4 years after using it for most of my
development since 1989 or so. Mark/Fairlite is much more current
in perl than I these days.
Bill
--
INTERNET: bill at celestial.com Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way
Voice: (206) 236-1676 Mercer Island, WA 98040-0820
Fax: (206) 232-9186 Skype: jwccsllc (206) 855-5792
Never chastise a Windows user...just smile at them kindly as you would a
disadvantaged child. WBM
More information about the Filepro-list
mailing list