Jump to content


Photo

How to prevent email from being sent to junkmail??


  • Please log in to reply
9 replies to this topic

#1 evon83

evon83
  • Members
  • PipPipPip
  • Advanced Member
  • 32 posts

Posted 10 September 2006 - 08:13 AM

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!

#2 Drezard

Drezard
  • Members
  • PipPipPip
  • Advanced Member
  • 244 posts

Posted 10 September 2006 - 08:20 AM

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

#3 redarrow

redarrow
  • Members
  • PipPipPip
  • Advanced Member
  • 7,308 posts
  • Locationlondon

Posted 10 September 2006 - 08:53 AM

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.
Wish i new all about php DAM i will have to learn
((EMAIL CODE THAT WORKS))
http://simpleforum.ath.cx/mail2.inc
((PAYPAL INTEGRATION THAT WORKS))
http://simpleforum.a...aypal1_info.inc

#4 evon83

evon83
  • Members
  • PipPipPip
  • Advanced Member
  • 32 posts

Posted 10 September 2006 - 12:13 PM

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???

#5 Wintergreen

Wintergreen
  • Members
  • PipPipPip
  • Advanced Member
  • 107 posts

Posted 10 September 2006 - 01:22 PM

Whether something goes to the junkbox or not is something I'm pretty sure you can't control. 

#6 evon83

evon83
  • Members
  • PipPipPip
  • Advanced Member
  • 32 posts

Posted 10 September 2006 - 01:48 PM

really?? hrmmm....i guess maybe someone out there has the solution ???
please HELP!!! !!! !

#7 AndyB

AndyB
  • Staff Alumni
  • Advanced Member
  • 5,465 posts
  • LocationToronto

Posted 10 September 2006 - 01:55 PM

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 real 'from' address on the same domain as you're sending from via mail()
Legend has it that reading the manual never killed anyone.
My site

#8 evon83

evon83
  • Members
  • PipPipPip
  • Advanced Member
  • 32 posts

Posted 10 September 2006 - 02:09 PM

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...

#9 AndyB

AndyB
  • Staff Alumni
  • Advanced Member
  • 5,465 posts
  • LocationToronto

Posted 10 September 2006 - 02:29 PM

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.
Legend has it that reading the manual never killed anyone.
My site

#10 evon83

evon83
  • Members
  • PipPipPip
  • Advanced Member
  • 32 posts

Posted 10 September 2006 - 02:31 PM

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.....





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users