I have been having major issues with email all day. The coding worked fine then all of a sudden I stopped receieving emails from my website! Is this a known issue and please respond to me asap!!!
Sincerely,
Douglas T. Michalek
I have been having major issues with email all day. The coding worked fine then all of a sudden I stopped receieving emails from my website! Is this a known issue and please respond to me asap!!!
Sincerely,
Douglas T. Michalek
This post was flagged by the community and is temporarily hidden.
Thi is the error message I am getting is that consistent with that issue? Parse error: syntax error, unexpected ‘“email”’ (T_CONSTANT_ENCAPSED_STRING), expecting ‘(’ in /storage/h2/752/539752/public_html/emailform.php on line 41
This post was flagged by the community and is temporarily hidden.
As said above…check your script once or post it here.
here is the code. I’m usually great at finding errors but this one has me stumped!
<?php if (email variable is filled out, send email; if (isset($_REQUEST['email'])) { //Email information $admin_email = "douglasmichalek4congress@outlook.com"; $firstn = $_REQUEST['firstn']; $lastn = $_REQUEST['lastn']; $email = $_REQUEST['email']; $subject = $_REQUEST['subject']; $comment = $_REQUEST['comment']; //send email mail($admin_email, $subject, $firstn, $lastn, $comment, "From: ", $email);Have you a longer version of that script check line 41?
I figured it out so thanks for the help anyway!!!