mardi 2 février 2021

HTML & PHP using the mail function [closed]

For some reason, I am unable to get the php to send the email successfully. When I try to run the website on my web server (hosted on azure) it gives me this error "The page you are looking for cannot be displayed because an invalid method (HTTP verb) is being used." Which I believe is an issue with the method parameter in the form, but from everywhere i checked, my syntax is correct.

When I run the site in my localhost and click submit, it proceeds as if it sent the email, but the email never gets sent. Also, yes i did check the spam folder for the email. I removed my email from the screenshots for security.

HTML Contact Form

The php document




Aucun commentaire:

Enregistrer un commentaire