Skip to main content
Participant
April 4, 2008
Question

PHP email form not emailing

  • April 4, 2008
  • 4 replies
  • 393 views
I created a form and am using php in order for it to be emailed back to me. It seems to be working besides the fact that I am not receiving the email. I do get directed to the thank you page but that is it. I would appreciate any help that can be offered! See form and php code below (I realize the email address is not valid as I changed it for this post) I apologize if this is sloppy as I am a beginner).

This topic has been closed for replies.

4 replies

April 10, 2008
The thing I mentioned isn't an extension, but it makes your life really easy if you want to use smtp, attachments, it automatically can send both html and plain text emails... delivery the method needed for that user, etc.etc. I can't think of an easier method then that.
April 10, 2008
I looked at all the available DW extensions, and wound up programming it myself. The mail feature in PHP is actually pretty easy to understand. The "mail($to, $subject, $body[, $headers])" protocol is right. I can't really understand what you did wrong, because you have way too much formatting for a PHP generated e-mail. Just MHO. KISS is always my motto.
April 7, 2008
As jsteinmann said, there are quite a few Dreamweaver extensions that do that for you. No need to do any heavy lifting. IMHO, you are trying to do too much on your own, and not let Dreamweaver do its magic.

And also, IMHO, I don't do enough heavy lifting to do what Dreamweaver can't. Touche!!

April 4, 2008
Check out http://phpmailer.codeworxtech.com/

I think they make it much much easier. All you do is add a couple of file to your PHP include folder, and you're ready to do almost anything.