Hi there I have a huge problem with my form and been trying to figure it out for hours and close to 2days now . The problem is, when the form is filled out and sent, the form is not going to the specified email. Please can someone help me, so sorry to bother you and would really appreciate anything at hand. Code 1: FORM PHP File
I dont see anything wrong - you mean you are not getting the email>? then something wrong with your SMTP server.
Try getting rid of the space after the $from address, changing the end-of line from \r\n to just \n, and getting rid of the end-of-line ("\r\n") on the second header (Content-Type). If that doesn't work, then just set up a really simple case to see if it's possible to send mail at all from your server - just a one-line script that calls mail('your@address', 'test' ,'test'); And try sending to a different address in case the message is getting blocked as spam at the address you're currently using.
Awesome! Thanks for the reply guys. Yea Traffic the form is not going to the email but I will give the sample a go from SamllPatotoes and then I will reply asap. I wonder if it had something to do with my index page? My index page has a button where I use the button to open up in a new window with the form. INDEX FILE
Hi guys I figured out what the problem was..the Hosting I'm using is not allowing PHP files for some reason so I'm waiting on them to get back to me, I think its something to do with SMTP server which I don't know much about.