Home › Forums › Back End › Contact Form help › Reply To: Contact Form help
October 22, 2013 at 7:22 pm
#153766
kalmykov
Participant
Thank you again for you help in this.
I change success to
if($success){
print "EmailTo: $EmailTo<br>".
"Subject: $Subject<br>".
"Body: $Body<br>".
"From: $emailFrom";
}
and i get a white page that says:
Notice: Undefined variable: Body in >/home/admin/public_html/bin/phpmailer.php on line 18
Notice: Undefined variable: emailFrom in >/home/admin/public_html/bin/phpmailer.php on line 48
EmailTo: [email protected]
Subject: Nice & Simple Contact Form by CSS-Tricks
Body: Name: Michael Anthony Kalmykov Email: [email protected] Message: >Test message
From:
I’m not sure what crlf
does or where to put it. Is it supposed to go in the html where the form starts?
<form id="contact_me_form" method="post" action="email.php">
or somewhere in the PHP?