Re: Online subission forms not sending emails of submitted info Programming Web Development by david.tigner Today is a good day. The problem has been solved. Problem was anti-spoofing stuff being added to my email server sometime in February. The clue that was found during testing was I had by chance entered an email address ending in @(one of domains that I own), (not even a real email address) and form emailed successfully. And by changing only 1 line … 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 This one is becoming more perplexing. 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-colon at end of line 18 (in previously discussed code) did not work and funny thing is, the original coding… 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 Biiim Hi David, > More problems. I incorporated the coding Biiim provided. Before any changes, after submission, would display the correct (yellow) screen. After code changed, not only will still not send email but screen turns blank white. URL provider, IONOS, told me that the Host is smtp.ionos.com and the Username and password are for an email… Re: Online subission forms not sending emails of submitted info Programming Web Development 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: HTML Image Embedding Issue Programming Web Development by Steve_89 It seems like the issue might be with the path to the image. Here are a few things to check: 1. **Relative Path**: Ensure that the path to your image is relative to the location of your HTML file. If your HTML file and the "images" folder are in the same directory, your current path should work. 2. **File Extension**: Make sure the … Re: Online subission forms not sending emails of submitted info Programming Web Development by Dani To clarify, I am suggesting: [...] //make your email body to send here $survey = "RadiantNewHorizonHomes.com General Inquiries" . "\r\n" . "\r\n" . "Name: " . $_POST['Name'] . "\r\n" . "E-mail Address: " . $_POST['Email'] . "\r\n&… 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 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 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 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 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 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 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 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 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 by david.tigner They said they can't help me and to contact a web developer because it deals with coding. How Do I address ERROR: access violation writing 0x0000000000005140, Programming Web Development by A_957 The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation exception that occurred within my application. This type of error apparently usually points to a problem where the code attempted to write to a protected … Re: How Do I address ERROR: access violation writing 0x0000000000005140, Programming Web Development by rproffitt Python shouldn't create such an error. Reference https://www.reddit.com/r/learnpython/comments/kv83hc/error_code_exception_access_violation_writing_0x0/ I can't duplicate your issue but if this was mine I'd place a logging command in my python script at each step so I could nail down which line of code threw the error. Tutorial on that at … C++ programming error Programming by sammieb I am trying to enter a single string in C++ in which I give a URL citation. the entire line is as follows: cout << 'furey, edward "sphere calculator" at https://www.calculatorsoup.com/calculators/geometry-solids/sphere.php from calculatorsoup, https://www.calculatorsoup.com - online calculators' << endl; I am getting the… i don´t understand this syntax error when using OpenCV Programming Databases by Audun This is the error message: >>> %Run -c $EDITOR_CONTENT Traceback (most recent call last): File "<string>", line 6 image = cv2.imread(“C:\Users\Audun Nilsen\Pictures\pica.webp”) ^ SyntaxError: invalid character in identifier >>> This is the code: import cv2 # OpenCV for image processing image =… Re: i don´t understand this syntax error when using OpenCV Programming Databases by Audun Thanks. That sorted it. Now, I have a new problem.. I tried the two variations of quotation marks, without the backslash, and got this: >>> %Run 'open cv - tot.py' Traceback (most recent call last): File "C:\Users\Audun Nilsen\open cv - tot.py", line 8 image = cv2.imread("C:\Users\Audun Nilsen\Pictures\… Re: i don´t understand this syntax error when using OpenCV Programming Databases by Audun I tried that using Thonny, and I´m getting the same result. I tried the same in the "CMD" that opens when I press Python 3.12, and what happened was, it just said nothing and went back to an empty "line", or whatever. I suppose that´s a good sign? It says syntax error a lot on there too. What sort of programs do you use … Re: How Do I address ERROR: access violation writing 0x0000000000005140, Programming Web Development by Dani I don't have any python experience, sadly, but I am super awesome at jQuery. Once you solve this server-side problem at hand, if you find yourself with the jQ side of things not working, please don't hesitate to post. Re: C++ programming error Programming by rproffitt You'll want to escape those quote marks and maybe more. Read https://en.cppreference.com/w/cpp/language/escape Example follows: #include <iostream> using namespace std; int main() { cout << "furey, edward \"sphere calculator\" at https://www.calculatorsoup.com/calculators/geometry-solids/… Re: i don´t understand this syntax error when using OpenCV Programming Databases by Reverend Jim Assuming this is python you have to ensure the backslashes are not read as escape characters. Try image = cv2.imread(r'C:\Users\Audun Nilsen\Pictures\pica.webp') Using `r'` in front of a string indicates a raw string and the backslashes will not be interpreted as special unless the backslash is the final character in the string. You could…