in reply to Using Sendmail and attaching a xls (Excel) file

You didn't say which module you are using, but it looks like what you are doing is just including the file as a message body, not as an attachment. Check out some of the MIME-Tools modules here.(e.g. MIME::Entity)
chas
  • Comment on Re: Using Sendmail and attaching a xls (Excel) file