Ever notice mail() sometimes doesn't work?

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
JellyFish
DevNet Resident
Posts: 1361
Joined: Tue Feb 14, 2006 7:18 pm
Location: San Diego, CA

Ever notice mail() sometimes doesn't work?

Post by JellyFish »

I've noticed that sometimes email sent using the mail() php function doesn't go through. Has anyone noticed this?

What I'm wondering is why. Why sometimes mail() doesn't send an email? Is it a server problem, that is, my server?

I just want to know why this happens and how do websites deal with it?

Thanks. :)
User avatar
Apollo
Forum Regular
Posts: 794
Joined: Wed Apr 30, 2008 2:34 am

Re: Ever notice mail() sometimes doesn't work?

Post by Apollo »

Do you check the result of the mail() function?
Post Reply