Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
php-mail
- Page 1
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
2 Months Ago
by Dani
… if the problem is that your
php
mail
() function is configured to use SMTP in your
php
.ini file. A lot of SMTP… Stack Overflow](https://stackoverflow.com/questions/14456673/sending-email-with-
php
-from-an-smtp-server) that has an example implementation of…
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
2 Months Ago
by Biiim
… and hopefully removed all the passwords: <?
php
use PHPMailer\PHPMailer\PHPMailer; use PHPMailer\PHPMailer\Exception… Set the
mail
sender. */ $
mail
->CharSet = "UTF-8"; $
mail
->Encoding = 'base64'; $
mail
->isSMTP(); $
mail
->Host = '
mail
.example.com'; …
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
2 Months Ago
by david.tigner
… the blank white screen ? <?
php
use PHPMailer\PHPMailer\PHPMailer; use PHPMailer\…$
mail
->DKIM_domain = 'example.com'; // $
mail
->DKIM_private = 'test.key'; // $
mail
->DKIM_selector = '_default'; // $
mail
->DKIM_passphrase = ''; // $
mail
->DKIM_identity = $
mail
->…
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
1 Month Ago
by david.tigner
… 'PHPMailer/PHPMailer/src/PHPMailer.
php
'; require 'PHPMailer/PHPMailer/src/SMTP.
php
';` The program did not crash. Then I added: $
mail
= new PHPMailer(TRUE…
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
1 Month Ago
by Biiim
…src/PHPMailer.
php
'; require 'includes/PHPMailer/src/SMTP.
php
'; and the second is mine uses port 587 instead of 465: $
mail
->…'; //Set the SMTP server to send through $
mail
->SMTPAuth = true; $
mail
->SMTPSecure = 'tls'; $
mail
->Username = 'kaosfrenzy@aol.com'; //SMTP…
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
2 Months Ago
by Biiim
… is something in the coding not being understood by
PHP
8.2. Any insights on what could be causing…FTP. 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…
Online subission forms not sending emails of submitted info
Programming
Web Development
2 Months Ago
by david.tigner
…pressing Submit. The issue was caused because of
PHP
8 incompatibility problems. However, got the coding … pages. It appears to be an issue with
PHP
. The coding for 1 of these pages is …;; $to = "david.tigner@radiantnewhorizonhomes.com";
mail
($to,$subject,$message,$headers); $to = "Agents1@radiantnewhorizonhomes…
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
2 Months Ago
by david.tigner
… have access to the
PHP
error log nor do I know how to check to see if
mail
() is returning false. The… info) for 13 years and now stopped working. My URL/
PHP
provider, Ionos, claims it won't send because all recipient… 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
2 Months Ago
by Dani
…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 if `
mail
()` is returning false for…
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
1 Month Ago
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
1 Month Ago
by david.tigner
… : " . 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
2 Months Ago
by Biiim
…. mine is `require 'includes/PHPMailer/src/PHPMailer.
php
';` cause I put it in a folder called includes…PHPMailer folder. like `require '../../includes/PHPMailer/src/PHPMailer.
php
';` I don't have access to the hosting …requiring DMARC authentication for sending emails to them, the
mail
() function was probably failing these tests on DMARC …
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
2 Months Ago
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
1 Month Ago
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
1 Month Ago
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
2 Months Ago
by david.tigner
… 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…They said in order to get a Command Line
PHP
.exe file, requires SSH to 'Connect to … Question: how does one get the Command Line
PHP
.exe file needed to install Composer ? In Composer …
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
2 Months Ago
by Dani
… send email but screen turns blank white. That's a
PHP
fatal error. It could be a syntax error, or it… that PHPMailer is not in the location you're telling
PHP
to look. Do you have any way of accessing the…
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
2 Months Ago
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
1 Month Ago
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
1 Month Ago
by david.tigner
… asked ? So I'm seeing if in the back end
PHP
file, the email address in question is not anything entered…
Re: What's up with XOAuth?
Programming
Web Development
2 Months Ago
by toneewa
…were thinking of something like this: <?
php
// Include PHPMailer-BMH library require 'vendor/autoload.
php
'; // Adjust the path as needed // …// Compose your bounce email (example) $bmh->setFrom($bounceEmail, 'Bounce
Mail
Handler'); $bmh->setRecipient('toneewa@nasa.gov', 'toneewa'); // Recipient for…
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
1 Month Ago
by david.tigner
I just discovered some new information on why the online submission pages weren't sending as during some testing I discovered there was a way for the submitted info to be sent. Here it is. I have online submission pages on 4 websites: RadiantNewHorizonHomes.com, RTO-USA.net, SubterraneanSoundStudio.com and RebHellionRecords.com. Each of these 4 …
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
1 Month Ago
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
1 Month Ago
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
1 Month Ago
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
1 Month Ago
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
1 Month Ago
by david.tigner
Then it seems to me that if I change $from = $_POST['ShowingEmail']; to $from = "Unknown@RTO-USA.com"; (or @SubterraneanSoundStudio.com, etc.) then the submitted info should send. This Unknown@RTO-USA.com email address is fake but apparently that doesn't matter. The only thing that matters is that the @domain.com part of the email …
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
1 Month Ago
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
1 Month Ago
by david.tigner
They said they can't help me and to contact a web developer because it deals with coding.
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
1 Month Ago
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.
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Forums
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC