mirosoft1 Posted January 16, 2008 Share Posted January 16, 2008 i have an email form sending mail on junk and bulk i want to send to inbox what i can do???? it is the code <?php $to = "you@yoursite.com"; $subject = "Contact Us"; $email = $_REQUEST['email'] ; $message = $_REQUEST['message'] ; $headers = "From: $email"; $sent = mail($to, $subject, $message, $headers) ; if($sent) {print "Your mail was sent successfully"; } else {print "We encountered an error sending your mail"; } ?> Quote Link to comment https://forums.phpfreaks.com/topic/86273-help-me-on-this-mail-form/ Share on other sites More sharing options...
adam291086 Posted January 16, 2008 Share Posted January 16, 2008 what are you asking for? You post is a little confusing. Is the mail going to the junk folder all the time? Are there any errors? Quote Link to comment https://forums.phpfreaks.com/topic/86273-help-me-on-this-mail-form/#findComment-440695 Share on other sites More sharing options...
mirosoft1 Posted January 16, 2008 Author Share Posted January 16, 2008 there is no error the mail is send to the mail but on junk and bulk mail i want to send on the inbox of the mail Quote Link to comment https://forums.phpfreaks.com/topic/86273-help-me-on-this-mail-form/#findComment-440704 Share on other sites More sharing options...
adam291086 Posted January 16, 2008 Share Posted January 16, 2008 That is down to the users mail box settings. You might want to look into using IMAP. Look at this post <a href=http://www.phpfreaks.com/forums/index.php/topic,177293.0.html>here</a> Quote Link to comment https://forums.phpfreaks.com/topic/86273-help-me-on-this-mail-form/#findComment-440705 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.