hi guys, any ideas on how to start. user will type data on a form then upon clicking on submit button, then send to a particular email.

but when the recipient receives the info or data it should be in CSV format or either pdf.

any ideas on how to do this? or any sample codes to play around?

thank you for any ideas