php mail() return value question

Mar 12, 2009
21
0
51
Hello,

on my server there is a limit to sending 100 mails/hour
what is the php mail() return value if user reaches the hourly limit? true or false?

thank you

Zoltan
 

Jeff Shotnik

Well-Known Member
Oct 10, 2012
61
0
6
Denver, Colorado, United States
cPanel Access Level
DataCenter Provider
The mail() function will continue to work as normal. The email will still go into Exim's queue - from there Exim decides if the email can be sent or not. mail() isn't going to return anything different.