Quantcast
Channel: smtp – WordPress.org Forums
Viewing all articles
Browse latest Browse all 2272

mk342 on "contact form drama (PHP & wp_mail)"

$
0
0

The saga continues....I decided to use contact form 7, and setup a form and put a php call on the template.php in hopes that it would work on my homepage. And of course, I still get the same error! When I cleared out the
require_once( $_SERVER['DOCUMENT_ROOT'] . '/wp-load.php' );
in the contact-me.php. It showed a success message, but the mail never actually went thru.

I setup another page using the same exact template and removed everything except header/footer and contact form 7 code. IT WORKED! Why is it working on the same template.php but on a different page. The homepage setting is calling up something that is screwing up the contact form and giving a server error message, that isnt happening on the contact page using the same code (minus portfolio and some content).

Can anyone figure out what is going on !
homepage
contact page


Viewing all articles
Browse latest Browse all 2272

Trending Articles