Email - Getting legit emails through filters

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
Stryks
Forum Regular
Posts: 746
Joined: Wed Jan 14, 2004 5:06 pm

Email - Getting legit emails through filters

Post by Stryks »

Hi,

I'm currently trying to come up wth a good way to send emails out to users in a way that will ensure that the end user actually gets it.

I'm sending email at the moment using the mail() function with just about every header configuration I can think of, but I just cant find anything which ensures my mails are recieved.

I'm needing this script so that a user who signs up can get the email and then click the link it contains. I'm getting far too many cases where the email just doesnt arrive.

Can anyone give any advice here? Thanks.

P.S - Yes, I have searched the site and found nothing to explain this to me.
User avatar
m3mn0n
PHP Evangelist
Posts: 3548
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Post by m3mn0n »

You can never have a 100% success rate in a script. There is just too many factors involved that may prevent delivery for that to be possible. Factors such as mail server IP blocking, Spamhaus blacklisting, and user set filters, and mail provider filters are causes for just about all mail delivery problems.

Just build the script as best as you can, and hope that none of those factors will prevent it from being delivered.
User avatar
phpScott
DevNet Resident
Posts: 1206
Joined: Wed Oct 09, 2002 6:51 pm
Location: Keele, U.K.

all powerful

Post by phpScott »

If you could develope a script that would gurantee a 100% success rate then I know some people in nigeria that would love to get a hold of it.
You can't worry to much about 3rd party stuff that you have no control over.
I know when I built a email system a while ago it was html based only to have people saying that they couldn't recieve it because html based emails where not allowed and blocked.
Createded a text based one only to still have a small group of people complaining because they where using different character sets.

A lot of effort went in and still couldn't make everyone happy all you can do is to make the best effort and have a couple of choices for people to be able to do to be able to sign up, confirm regestration etc.....
Post Reply