Reg using sendmail for mail with attachment in Linux

Hi,
Can anyone point out some examples on how to use sendmail to send mails with attachments. We have a requirement to change from address and so we are not able to use uuencode along with mailx for sending emails. All your reponses are highly appreciated.

Thanks,
Manick.

Do you have access to or ability to install metamail? It has the utilities and even a quick and dirty program called metasend that you could use.

Have you tried searching the forum? There are heaps of examples of this here already.

Sorry. Got it from one of existing posts. Thanks for all who responded.