You could look at Mail::Sender, it appears that it will do what you want.
In reply to Re: Mail with Attachment in UNIX by JediWizard in thread Mail with Attachment in UNIX by Fuism