Jump to content

Archived

This topic is now archived and is closed to further replies.

evon83

How to prevent email from being sent to junkmail??

Recommended Posts

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!

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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 email

but still sent to junk mail????
how to handle that???

Share this post


Link to post
Share on other sites
really?? hrmmm....i guess maybe someone out there has the solution ???
please HELP!!! !!! !

Share this post


Link to post
Share on other sites
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()

Share this post


Link to post
Share on other sites
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...

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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.....

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.