attaching an excel sheet to an email


I’m using MIME to send a html email and i wanted to attach an excel sheet that will be generated from My SQL database to that email.
can you help me on how can i generate and attach that excel sheet to emails that my script sends?

thank you

Sponsor our Newsletter | Privacy Policy | Terms of Service