Hi,


For attaching files to mails or sending the program mpack can be
a suitable solution. This is a utility though and not in standard linux
distributions. I don't believe that mail or sendmail are capable
of doing attachments automatically. You have to prepare the MIME
attachment by some other means.


mutt is a (good) SL-distributed alternative:
mutt -s "subj" -a attach [EMAIL PROTECTED]  <whatever

'whatever' needs to be present in some way (|,<,<< etc; but whatever=/dev/null should also work), or mutt will invoke an editor rather than sending it off ...

With mail/sendmail you probably don't have a choice other than
uuencoding the attachment and send it along as plain text, which has
however a fairly good chance to get trapped by a spam-filter...

ciao, Frank.

Reply via email to