PHP HTML EMAILS NOT WORKING #122684
-
BodyHello, I have a form for sending emails in my html project linked to a php file in my repository, but when i try to send an email, it returns
How do I solve that issue. Attached are my html form and php code HTML form found in Adtim/contact.html
Here is the PHP Code found in Adtim/PHP/submit_feedback.php
Guidelines
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Make sure that the submit_feedback.php file is located in the correct path and is accessible from the path specified in the action attribute of the HTML form. |
Beta Was this translation helpful? Give feedback.
-
Hi, I think needs to check the next things:
Also, check logs from your web server. It can help understand why it's doesn't work |
Beta Was this translation helpful? Give feedback.
-
Check if any errors are popping up in your PHP script. You might find some clues in your server's error logs. Or maybe the PHP script is using the mail() function correctly. Check if you've got everything set up right - like the recipient, subject, message, and headers. Please also check SMTP Email that you are using if you config it correctly |
Beta Was this translation helpful? Give feedback.
Github pages works only with a static content and it doesn't support PHP