Hi guys

Total newbie to PHP but i'm more than capable on HTML/CSS etc just keen to learn a new skill 🙂

Ok, here is what i want to do - sounds fairly simple but is it?

I have a form on my home page which users fill in (Name, Email, Phone) when they submit the form i would like not only a confirmation page to appear but for that user to be sent a simple "Thank you for registering" type email that is auto-generated on them submitting the form.

I also, would like this to work without the use of a database with the results they input being sent to my email address.

How do i do it?

Thanks in advance
Ian

    coldwerturkey;10907877 wrote:

    with mail() & $_POST.

    let me google that for you

    No need to be so sarcastic :glare:

    I was after a script that emails the user a auto-generated thank you email when they hit submit. I know there are loads of forms out there that allow you to do form to email but i wanted the addition of a auto-confirmation email being sent to THEM.

    If this isn't a place to ask just a question, apologies - i'll go away!

      While he might have been a bit overly sarcastic in tone, coldwerturkey did manage to pass along a valuable link - the one to mail() in the manual (again: [man]function.mail[/man]).

      Specifically, take a look at Example #4 on that page - it shows how one might go about sending an HTML e-mail. You could either utilize the "Bcc" email header to send yourself a copy as well, or just compose another plain text message to send to yourself that contains the information they submitted.

        I think i've managed to figure it out - thanks guys!

          Write a Reply...