Hi all,

I've got a website and I'd like y visiters to be able to send me comments by my feedback page.

I want a PHP form that sends thier comments and name to me via email.

How would I go about doing this, hopefully someone can provide me with assistance thank you. 🙂

JamesRP.

    Looking at the manual entry for the [man]mail[/man] function might be a good start.

      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:

      1. Look at manual
      2. 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!
      3. 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

        Write a Reply...