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 not have to be real, only end in a domain that I own. Furthermore, in order for a submitter to get a real email address ending in a domain that I own, they would have to contact me to do so. For 11 years, up until Feb 2024, the submitter could enter any email address (or anything really, I've received submissions where for email address, the submitter put their actual address (for example, 123 Main Street)). Considering this, what needs to be done is have the email address the submission form was sent from be something like submissions@RTO-USA.net (or other domain that I own) but then have the submitter's email address appear in the body of the email so I would know who to reply to. I believe this is what Dani is referring to: '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 is what my next round of edits/testing was going to be.
Dani
4,084
The Queen of DaniWeb
Administrator
Featured Poster
Premium Member
rproffitt
commented:
This isn't a code issue. It's the email server rules. Talk to your provider.
+0
rproffitt
commented:
Weird formatting choice.
+0
rproffitt
commented:
I think you're almost there. What sends the email is your code and as such is the sender so any other domain would be a spoof.
+0
rproffitt
commented:
Since John isn't the sender but your code then all is as it should be today. Anti-spoof measures are working.
+0
rproffitt
commented:
Time to talk to your email provider. This is anti-spoofing not anti-spam. i.e. making emails "appear" to be from other than the true sender.
+0
rproffitt
commented:
Exactly what a good email server should do. Sender should match with domain being sent from.
+0
rproffitt
commented:
That sounds like your host has implemented anti-spam methods. The domain you mention appears to be yours so why should it be other than radiant?
+17
Dani
commented:
And ... ?
-8
Dani
4,084
The Queen of DaniWeb
Administrator
Featured Poster
Premium Member
Chris_103
-10
Newbie Poster
Biiim
commented:
looks like an AI answer, he did use the fetchAll command but got 1 result
-2
rproffitt
2,580
"Nothing to see here."
Moderator
Biiim
182
Junior Poster
Dani
4,084
The Queen of DaniWeb
Administrator
Featured Poster
Premium Member
Dani
4,084
The Queen of DaniWeb
Administrator
Featured Poster
Premium Member
Mikekelvin
0
Newbie Poster