I have a routine that creates a number of txt files, attaches them top emails and sends them customers. I use a product called HTML Mailer. I also have routines that send emails internally, but I haven't tried to attach anything to them.