Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
g-phone
- Page 1
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
2 Months Ago
by david.tigner
…code block shown below is stored: e.
g
. in the root directory are directories:…['Email'] . "\r\n" . "
Phone
Number: " . $_POST['
Phone
'] . "\r\n" . "Comments…['Email'] . "\r\n" . // "
Phone
Number: " . $_POST['
Phone
'] . "\r\n" . // "Comments …
Re: How NOT to do business online
Digital Media
Digital Marketing
2 Months Ago
by Dani
… wants to convert it into utilizing a payment API (e.
g
. something that accepts credit cards). This takes a decent amount… is likely completely over his head. And as far as
phone
numbers ... I am of the opinion that small businesses should…
Online subission forms not sending emails of submitted info
Programming
Web Development
2 Months Ago
by david.tigner
…;6LeW4RQUAAAAAJ4NvgWIKJc4b-AeKp6LcLFCFQoS"; // empty response $recaptcha_response = $_POST['
g
-recaptcha-response']; $recaptcha_url = 'https://www.google.com/recaptcha/… " . $_POST['ShowingName'] . "\r\n" . "
Phone
Number : " . $_POST['ShowingPhone1'] . "\r\n" . …
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
1 Month Ago
by david.tigner
… to forward it to the submitter's email address, e.
g
. $_POST['ShowingEmail']. I'll be trying that to see if… be able to email the submitter (only call them if
phone
number is one of the questions on the on-line…
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
2 Months Ago
by Dani
…: " . $_POST['Email'] . "\r\n" . "
Phone
Number: " . $_POST['
Phone
'] . "\r\n" . "Comments or Questions: "…
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
1 Month Ago
by david.tigner
…. After adding in the PHPMailer coding, page would crash (e.
g
. blank white screen, HTML file that would display the screen… doesn't even start at all, e.
g
. error in the 1st running PHP file). Adding the semi…
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
1 Month Ago
by david.tigner
… 4 domains can have email addresses associated with them (e.
g
. name@RadiantNewHorizonHomes.com, name@RTO-USA.net, etc.). If, on… or fake), the right side of the email address (e.
g
. the @url.com part) MUST be @RadiantNewHorizonHomes.com, @RTO-USA…
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
1 Month Ago
by david.tigner
…;Name: " . htmlspecialchars($_POST['TestimonialName']) . "\r\n" . "
Phone
Number : " . htmlspecialchars($_POST['TestimonialPhone']) . "\r\n" . "…
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
2 Months Ago
by david.tigner
… returning false. The coding I'm using has worked (e.
g
. sent email with submitted info) for 13 years and now…
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
2 Months Ago
by Biiim
….com where the code block shown below is stored: e.
g
. in the root directory are directories: PHPMailer, RNHindex, etc.). IONOS…
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
2 Months Ago
by Dani
The first thing I will say is never output `$_POST[]` content directly into the HTML without escaping it first. You are leaving yourself wide open to an HTML injection attack. Not only that, but you're also leaving yourself open to invalid HTML. All it takes is to wrap your user-sent variables with htmlspecialchars to make sure they're HTML-escaped…
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
2 Months Ago
by Biiim
In your code where you write `mail($to,$subject,$message,$headers);` if you want to get error messages or "do something if it fails" you need to alter it a bit to something like: if(mail($to,$subject,$message,$headers)){ //if successful do something }else{ //if error do something else } //or…
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
2 Months Ago
by Dani
I wonder if the problem is that your php mail() function is configured to use SMTP in your php.ini file. A lot of SMTP servers switched over the past year or so to using XOAuth2 for authentication. A username + password in your config settings will no longer suffice to establish a connection. You can see me complaining about it [here](https://www.…
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
2 Months Ago
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 …
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
2 Months Ago
by Biiim
You don't need composer or access to the php.exe. just locate the PHPmailer Directory into your web root, to keep it simple and the require links should point to where it is located. mine is `require 'includes/PHPMailer/src/PHPMailer.php';` cause I put it in a folder called includes, this should be relative to the file that is using it.…
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
2 Months Ago
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
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 Biiim
I checked my code and I only found 2 differences, the first is the 2 `use` commands before the require: use PHPMailer\PHPMailer\PHPMailer; use PHPMailer\PHPMailer\Exception; require 'includes/PHPMailer/src/Exception.php'; require 'includes/PHPMailer/src/PHPMailer.php'; require 'includes/PHPMailer/src/SMTP.php';…
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
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 Dani
> If this does in fact solve the problem, it would make replying back to the submitter a little bit more complicated In your mail headers, you can specify both a From: email address, that is an email address from your domain name, as well as a separate Reply-To: email address, that can be any email. This way, when someone clicks on the Reply …
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
1 Month Ago
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
1 Month Ago
by Biiim
Hey David, You should not pretend to send an email from `x@gmail.com` as this is spoofing. I forward all forms from a website from a generic email such as `forms@` or `enquiry@` (`@yourlocaldomain.com`) Emails have basic checks done on them, which is why your spoofing fails, you are trying to say `X@gmail.com` sent an email but gmail didn'…
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
1 Month Ago
by david.tigner
I am not pretending to send emails from x@gmail.com or any other email address. Here's what is happening: If a submitter (the one that fills out the form and presses the Submit button) doesn't enter an email address ending in a domain that I own, the submitted info will not send. If they do, it will. The email address they enter in this case does …
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