Re: Online subission forms not sending emails of submitted info Programming Web Development by david.tigner … Number : " . htmlspecialchars($_POST['TestimonialPhone']) . "\r\n" . "E-mail Address: " . htmlspecialchars($_POST['TestimonialEmail']) . "\r\n" . "…;\r\n"; $to = "DaveT@RTO-USA.net"; mail($to,$subject,$message,$headers); Re: Online subission forms not sending emails of submitted info Programming Web Development by Dani You only need to use htmlspecialchars() if the text appears on a website or an HTML email. I’m not sure if you need it if you’re sending plaintext emails. Re: Online subission forms not sending emails of submitted info Programming Web Development by david.tigner …; . "Name: " . $_POST['Name'] . "\r\n" . "E-mail Address: " . $_POST['Email'] . "\r\n" . "Phone…; . // "Name: " . $_POST['Name'] . "\r\n" . // "E-mail Address: " . $_POST['Email'] . "\r\n" . // "Phone… Re: Online subission forms not sending emails of submitted info Programming Web Development by Dani …; . "Name: " . $_POST['Name'] . "\r\n" . "E-mail Address: " . $_POST['Email'] . "\r\n" . "Phone… Re: Online subission forms not sending emails of submitted info Programming Web Development by david.tigner …()) { //echo "Mailer Error: " . $mail->ErrorInfo; //}else{ // echo "Message sent!"; // } catch (Exception $e) { /* PHPMailer exception. */ echo "Message… Re: Online subission forms not sending emails of submitted info Programming Web Development by Biiim ….com where the code block shown below is stored: e.g. in the root directory are directories: PHPMailer, RNHindex…. I found a similar situation you might try [mail-not-sending-with-phpmailer-over-ssl-using-smtp](https://…stackoverflow.com/questions/18535294/mail-not-sending-with-phpmailer-over-ssl-using-smtp) From… Re: Online subission forms not sending emails of submitted info Programming Web Development by Biiim …'; //Set the SMTP server to send through $mail->SMTPAuth = true; $mail->SMTPSecure = 'tls'; $mail->Username = 'kaosfrenzy@aol.com'; //SMTP username… Re: Online subission forms not sending emails of submitted info Programming Web Development by david.tigner … these 4 domains can have email addresses associated with them (e.g. name@RadiantNewHorizonHomes.com, name@RTO-USA.net, etc.). If… (real or fake), the right side of the email address (e.g. the @url.com part) MUST be @RadiantNewHorizonHomes.com, @RTO… Re: Online subission forms not sending emails of submitted info Programming Web Development by Biiim … email the domain is looked up to find the mail exchange record(mx): Mail Server mx:rto-usa.net - 1 Tests Failed… is also additional checks such as DKIM (Domain Keys Identified Mail), DMARC (Domain Message Authentication, Reporting and Conformance). DMARC is now… Re: Online subission forms not sending emails of submitted info Programming Web Development by david.tigner … have to forward it to the submitter's email address, e.g. $_POST['ShowingEmail']. I'll be trying that to see… Re: Online subission forms not sending emails of submitted info Programming Web Development by Dani … to the submitter a little bit more complicated In your mail headers, you can specify both a From: email address, that… Re: Online subission forms not sending emails of submitted info Programming Web Development by david.tigner … believe this is what Dani is referring to: 'In your mail headers, you can specify both a From: email address, that… Re: Online subission forms not sending emails of submitted info Programming Web Development by Dani > After code changed, not only will still not send email but screen turns blank white. That's a PHP fatal error. It could be a syntax error, or it could also be that PHPMailer is not in the location you're telling PHP to look. Do you have any way of accessing the error log? Without access to the server, perhaps through a web-based control … Re: Online subission forms not sending emails of submitted info Programming Web Development by Chris_103 It seems like you're experiencing issues with PHP-based email functionality, where submissions are not triggering emails to be sent. Let's dive into the code snippet you provided and see if we can identify any potential issues or improvements. Re: Online subission forms not sending emails of submitted info Programming Web Development by david.tigner My 4 domains are all through URL provider IONOS. The question is why does the sender's email address as entered on the front end of the on-line submission form have to have the same ending as the domain name of the site or one of the other 3 or else submitted info fails to send ? Re: Online subission forms not sending emails of submitted info Programming Web Development by david.tigner That's a problem. The email addresses issued for @RadiantNewHorizonHomes.com or 1 of the other 4 are created by me. Unknown parties that submit online forms on one of my domains would not have one of these email addresses. I would want to receive the submitted info from senders of any email address like has been since 2011 until Feb 2024. This is … Re: Online subission forms not sending emails of submitted info Programming Web Development by david.tigner There is no making emails "appear" to be from other than the true sender. I'll explain further. Suppose John Smith has an email address of johnsmith@gmail.com. John then goes on to one of my sites, lets say RTO-USA.net, and fills out an online submission form and enters his email address truthfully (johnsmith@gmail.com). This email … Re: Online subission forms not sending emails of submitted info Programming Web Development by david.tigner If John isn't the sender then who is ? Also, continuing from the John Smith example, if John Smith enters his email address as johnsmith@SubterraneanSoundStudio.com or johnsmith@RTO-USA.net (ficticious email addresses) then the submitted info would be emailed to me but if he uses his true email address then it would not. Continuing from this … Re: Online subission forms not sending emails of submitted info Programming Web Development by david.tigner I'll do whatever works to get the submission pages to send again with any submitter's email address. The End Justifies The Means. If it works then I can refine it as needed. Re: Online subission forms not sending emails of submitted info Programming Web Development by david.tigner The way I see it is that the email address in question is one inputted by the submitter. What if this question is not asked ? So I'm seeing if in the back end PHP file, the email address in question is not anything entered by submitter but simply one with the correct @site.com ending. That way should slip "under the radar" and submitted … Re: Online subission forms not sending emails of submitted info Programming Web Development by david.tigner They said they can't help me and to contact a web developer because it deals with coding. Online subission forms not sending emails of submitted info Programming Web Development by david.tigner … Number : " . $_POST['ShowingPhone1'] . "\r\n" . "E-mail Address: " . $_POST['ShowingEmail'] . "\r\n" . "Properties…\n"; $to = "david.tigner@radiantnewhorizonhomes.com"; mail($to,$subject,$message,$headers); $to = "Agents1@radiantnewhorizonhomes.com"… Re: Online subission forms not sending emails of submitted info Programming Web Development by Biiim …'; /* Set the mail message body. */ $mail->Body = $survey; /* Finally send the mail. */ $mail->send(); } catch (Exception $e) { /* PHPMailer exception. */ echo $e->errorMessage(); } ?>… Re: Online subission forms not sending emails of submitted info Programming Web Development by david.tigner … nor do I know how to check to see if mail() is returning false. The coding I'm using has worked… (e.g. sent email with submitted info) for 13 years and … coding I got for that, I saw $mail -> send();. I'm going to try $mail -> send($to,$subject,$message,$headers… Re: Online subission forms not sending emails of submitted info Programming Web Development by Dani … same and suddenly stopped working, have you looked into your mail server? Do you have access to the PHP error log… somewhere that might say if `mail()` returned any errors? For testing, you might want to see… Re: Online subission forms not sending emails of submitted info Programming Web Development by Dani I wonder if the problem is that your php mail() function is configured to use SMTP in your php.ini … Re: Online subission forms not sending emails of submitted info Programming Web Development by Biiim … Yahoo requiring DMARC authentication for sending emails to them, the mail() function was probably failing these tests on DMARC & DKIM… Re: Postfix authentication problem Hardware and Software Linux and Unix by chickenbirds …local web development machine for send-only e-mails using Gmail so I can test e-mails sent by a web app…recommended to check out [OpenSMTPD](https://www.opensmtpd.org/) - this mail server, which can be used as a simple mailrelay too… from a web application to large mail providers like gmail, which then deliver the mail. I got it working after 45… Re: Online subission forms not sending emails of submitted info Programming Web Development by david.tigner Re: Biiim's post, the coding you suggest to get error messages looks like something good to try and the PHP Mailer stuff looks the same as the generic code I got from Ionos. It sounds like all these methods are appearing favorable for solving the problem. This kind of troubleshooting can be very frustrating so thanks for your help. Re: Online subission forms not sending emails of submitted info Programming Web Development by david.tigner Ran into some new issues. Here goes. In order to download PHPMailer, must download Composer. In order to install Composer, need a Command Line PHP.exe file. I do not have one of these. I have been using PHP services from URL provider, 1 & 1/Ionos since 2011. They said in order to get a Command Line PHP.exe file, requires SSH to 'Connect to …