evon83 Posted September 10, 2006 Share Posted September 10, 2006 Hello everyone!i have been testing the mail() function...and it can be sent to my email address successully !However, it keeps on goin to my junk mail??!!!how to make it like goin to my iinbox instead of junk mail??!cuz i need it to do my club member page!thanks!hope to hear from you guys real soon!!cheers! Quote Link to comment https://forums.phpfreaks.com/topic/20275-how-to-prevent-email-from-being-sent-to-junkmail/ Share on other sites More sharing options...
Drezard Posted September 10, 2006 Share Posted September 10, 2006 Hey with the mail function (this is off topic but...) I cant seem to get the parameter for the mailserver port to work. Do you have an actual mail server or are you just using a standard ISP address or even hotmail or something like that. And what port do as pass if i am using a standard ISP email address?- Cheers, Daniel Quote Link to comment https://forums.phpfreaks.com/topic/20275-how-to-prevent-email-from-being-sent-to-junkmail/#findComment-89239 Share on other sites More sharing options...
redarrow Posted September 10, 2006 Share Posted September 10, 2006 sending mail to a free service has got the spam folder set as it is designed to catch messages that you didnt set in the address as a member.so users say that using all sorts of headers will let the mail comein as a non spam email but it's not true it will be setup via an admin of the free email service soory i dont think there is such a way to get all mail sent to a free service as not a spam email.if you lookup google your find meny say diffrent but in the long run if the php mail function works where ever it goes then your ok.good luck. Quote Link to comment https://forums.phpfreaks.com/topic/20275-how-to-prevent-email-from-being-sent-to-junkmail/#findComment-89248 Share on other sites More sharing options...
evon83 Posted September 10, 2006 Author Share Posted September 10, 2006 so it means there's no way to send those mail directly to inbox instead of junk mail??cuz before that they have registered their details and stuff..... at first they have been notified...and the second email will be sent to them tellin that they are the official member...so i have tested the second emailbut still sent to junk mail????how to handle that??? Quote Link to comment https://forums.phpfreaks.com/topic/20275-how-to-prevent-email-from-being-sent-to-junkmail/#findComment-89305 Share on other sites More sharing options...
Wintergreen Posted September 10, 2006 Share Posted September 10, 2006 Whether something goes to the junkbox or not is something I'm pretty sure you can't control. Quote Link to comment https://forums.phpfreaks.com/topic/20275-how-to-prevent-email-from-being-sent-to-junkmail/#findComment-89327 Share on other sites More sharing options...
evon83 Posted September 10, 2006 Author Share Posted September 10, 2006 really?? hrmmm....i guess maybe someone out there has the solution ???please HELP!!! !!! ! Quote Link to comment https://forums.phpfreaks.com/topic/20275-how-to-prevent-email-from-being-sent-to-junkmail/#findComment-89335 Share on other sites More sharing options...
AndyB Posted September 10, 2006 Share Posted September 10, 2006 The manual at php.net has at least part of the solution - correct and complete mail headers. Take a look at that and modify your code to suit. Use a [b]real[/b] 'from' address on the same domain as you're sending from via mail() Quote Link to comment https://forums.phpfreaks.com/topic/20275-how-to-prevent-email-from-being-sent-to-junkmail/#findComment-89341 Share on other sites More sharing options...
evon83 Posted September 10, 2006 Author Share Posted September 10, 2006 May i know what does this mean "Use a real 'from' address on the same domain as you're sending from via mail()"????same domain?? like how??sorry, my php skill is still not that good..still learning... Quote Link to comment https://forums.phpfreaks.com/topic/20275-how-to-prevent-email-from-being-sent-to-junkmail/#findComment-89347 Share on other sites More sharing options...
AndyB Posted September 10, 2006 Share Posted September 10, 2006 If your script is located on the domain mysite.com (for example) then the 'from' address in the email headers would need to be someone@mysite.com. Some servers may check outgoing mail sent via mail() to ensure that the from address really exists, i.e. that someone has actually established that email address not just invented it. Some email receivers may reject or junk incoming email with an invalid 'from' address or if they don't have a reply-to: address. It's all in the manual; it's all in the notes in the manual. Quote Link to comment https://forums.phpfreaks.com/topic/20275-how-to-prevent-email-from-being-sent-to-junkmail/#findComment-89364 Share on other sites More sharing options...
evon83 Posted September 10, 2006 Author Share Posted September 10, 2006 oh ok..so I'll just check the PHP manual then??!!Thanks for your help GURU !!i really have to crack my head to understand all these mail() sending stuff..... Quote Link to comment https://forums.phpfreaks.com/topic/20275-how-to-prevent-email-from-being-sent-to-junkmail/#findComment-89366 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.