r/PHPhelp • u/Various-Cut8293 • Jan 23 '25
Website problems help
I have a website and when clients try to subscribe or send me their details via website I can't see their response how can I fix it?
0
Upvotes
8
u/MateusAzevedo Jan 23 '25
I really don't understand what goes into someones head when asking questions like this.
3
u/No_Astronomer9508 Jan 23 '25
Could you describe the problem in more detail? How do you save the handovers?
9
u/martinbean Jan 23 '25
No one can even begin to help unless you share code and error messages.
1
u/allen_jb Jan 23 '25
If you're trying to send form information via email, check the junk/spam folder.
Make sure the email From header is for an email address the server is allowed to send from (not the email of the person who filled out the form - you can use that in Reply-To to allow replying to go to them)
SPF anti-spam measures mean that emails that were sent from a server not authorized by the domain in the From header will be sent to spam or deleted.
It may help to avoid using mail() and sending via authenticated SMTP using a library such as PHPMailer or Symfony Mailer.