php generated form won't send email??

by 5 replies
7
Right guys its kind of weird and you gotta help me out here. please.

I was working with a 'programmer' on a website which is to be finished by tonight. Yesterday he generated a form using phpform.org put it on the website and submitted something for a test. I received the email and we all were happy.

However, when he changed that email to the clients email add it stopped working. And now it opens outlook express whenever we click submit.

The reason I put in programmer in quotes is cos he isn't really a programmer and he can't remember what exactly has he done for the form to stop working.

I'm sure its only a snippet of a code we need to put there for the form to send data to an email account.

Any help guys?

Gotta finish this website asap.

Thanks
Maddi.
#programming #email #form #generated #php #send
  • Having "mailto" as the form's action is not the recommended way to implement email contact forms - see why here Form Tip: Beware of Form Mailto Action.

    I would instead use PHPMailer or some similar email utility to send emails. PM me if you need a sample of how to get this done quickly.
    • [1] reply
    • I also use PHPMailer for any form that sends an email. You can even set it up to use your GMail SMTP server. It's not that difficult.
  • For php you want to use the mail() function. Just ensure that you add headers etc to the mail before getting the script to mail. This will increase the deliverability rate.
  • Cheers guys for your response.

    I've actually gave the job to a friend/fellow warrior. this coding thing is way out of my head :-)

    Hopefully he'll sort it out for me tonight.
  • Have you asked your programmer for solving this problem? In this case I can only recommend you to take a look at form creator, maybe you would make the decision for yourself.

Next Topics on Trending Feed

  • 7

    Right guys its kind of weird and you gotta help me out here. please. I was working with a 'programmer' on a website which is to be finished by tonight. Yesterday he generated a form using phpform.org put it on the website and submitted something for a test. I received the email and we all were happy.