Geraintm6 Posted July 14, 2013 Share Posted July 14, 2013 Hi, not sure if ive posted this in the right section, but im making a website thats mainly html but ive thrown some PHP for the contact us page, i have used a form that requires the user to send a message to an email, ive tested it and i get the message that ive set to show that its sucessfully sent, but when i check my email to see if it has sent well... it hasn't, im new to PHP but do i have to have the site online in order for the message to send? Quote Link to comment Share on other sites More sharing options...
kicken Posted July 14, 2013 Share Posted July 14, 2013 You need to have some kind of mail service configured, be that either SMTP or sendmail. Are you using PHP's mail() function, or are you using a library to handle the email? Also make sure you check your spam/junk folders. Quote Link to comment Share on other sites More sharing options...
StefanNET Posted July 25, 2013 Share Posted July 25, 2013 If e-mail is not delivered, that is up to your hosting (I assume you use mail() function). To avoid this, use SMTP, there are plenty "free" services which offer this feature. Quote Link to comment Share on other sites More sharing options...
akhilesh1010 Posted August 13, 2013 Share Posted August 13, 2013 You should check your error log. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.