Array for the R_emails option from form $S_branch = ucfirst(substr($S_branch, 2)) $R_branch = ucfirst(substr($R_branch, 2)) $S_branch = trim(stripslashes(htmlspecialchars ($_POST))) $R_branch = trim(stripslashes(htmlspecialchars ($_POST))) $customerInfo = trim(stripslashes(htmlspecialchars ($_POST))) $requestedDate = trim(stripslashes(htmlspecialchars ($_POST))) $requestedBy = trim(stripslashes(htmlspecialchars ($_POST))) $description = trim(stripslashes(htmlspecialchars ($_POST))) $serialNumber = trim(stripslashes(htmlspecialchars ($_POST))) $stockNumber = trim(stripslashes(htmlspecialchars ($_POST))) Sanitize incoming data and store in variable ARRRGGGHHH… ?Ġ July 3rd, 2013 - # here is my send.php code, notice I changed my require path per your suggestion - I'm not getting any errors and email is sitting in Apache/mailoutput folder. ** As a test, I copied into my folder that contains my html form and send.php files and I didn’t receive any error messages but I also didn’t get the email. ** I tried to add the following statement $success = mail( implode(‘,’, array( $R_email, $S_email )), $subject, $body, $headers, ‘-f ’ ) Įcho ‘Thank you, your request has been sent!’ $mail->Host = “IP Address” // SMTP server IsSMTP() // telling the class to use SMTP I have PHPMailer installed in htdocsPHPMailer Not sure what PEAR has to do with PHPMailer. C:xamppphpPEAR’) in C:xampphtdocstransferformsend.php on line 3 Warning: require(): failed to open stream: No such file or directory in C:xampphtdocstransferformsend.php on line 3įatal error: require(): Failed opening required ‘’ (include_path=’. ** I shouldn’t have to have the form setup in the PHPMailer folder to work properly – right? Since I couldn’t get email to send through PHP via SMTP by making changes to my php.ini and sendmail.ini, I decided to setup PHPMailer.Īfter the install, I was able to successfully receive the test mail from PHPMailer BUT I’m not sure what all I need to do to get the email to send properly via my send.php code. Copy link Tweet this Alerts July 3rd, 2013
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |