What is the best code to send a email in a script? when a user fills in a form and submits it it will add the info to my sql database (this is working fine) i just want it to email them the details.
several examples are located on the [man]mail[/man] manual page.