Dear Friends, I’m expecting visitor to fill, Name, Email, Phone and Message in the contact form. Once visitor click on “Send” button, I’m expecting an email in my mailbox (which I have maintained in the php code). But there is no action happening.
I’m putting here my HTML code part for form and related PHP file. Please help.
alert(‘Thank you for the message. We will contact you shortly.’); window.location = ‘contact.html’;
alert(‘Message failed. Please, send an email to firstname.lastname@example.org‘); window.location = ‘contact.html’;
Also, please use markdown (or the [Block Code] button) to format your code as code. If you have more than a few lines to share, it would be a good idea to use a service like pastebin or make a gist on github.