You can do this even without PHP! Create your form but put the method attribute to 'mailto:Email@hotmail.com'
I believe that;'s how it's done anyway!
Ok first step is to confirm your server has an email mod on it. If it can't send email there's no point coding a mailing script!
Then, like mentioned by weedpacket - have the initiative and RTFM 😃
btw next time do the three-before-me rule of finding an answer:
- Look at manual
- Use PHPbuilder's search page using sensible search strings such as 'send email to see if another user has already had his emailing question answered. And trust me - hundreds already have!
- Search Google
I recommend that the mail() function be put in a FAQ somewhere on the forum's FAQ commonly asked questions.
EDIT: Oh and if you want to send an HTML email msg or even attachments, there's an article on phpBuilder by Kartic Krishnamurthy here