in reply to Perl Email attchment using Sendmail with out nay perl Modules like (MIME::Lite .etc )
Maybe take a look at Re: Sending a email with file attachment with LWP ONLY for how to construct a multipart message body.