[thelist] PHP Mail() function

Paul Waring paul at xk7.net
Fri May 30 06:19:37 CDT 2014


It's highly unlikely that the limit will show in phpinfo(), since
there's no built-in functionality for limiting mail in PHP that I'm
aware of (except disabling the mail() function altogether). If there is
a limit, it will probably be set somewhere in the mail server software
configuration.

Paul

On Fri, May 30, 2014 at 09:51:11PM +1200, Santilal Parbhu wrote:
> Hi
> 
> Thanks for that.  Is there any way to see this limit using phpinfo() or any
> other way.  I have asked the server host, but they have not offered any
> possible explanation.  I probably sent about 20 emails over a half hour
> period before it stopped working.  Hardly what I would call excessive, but
> maybe there is some limitation if the emails are coming from a script.  It
> has been about 4 hours and I am still not able to send emails from the
> script.
> 
> Thanks again.
> 
> Santilal
> 
> 
> -----Original Message-----
> From: thelist-bounces at lists.evolt.org
> [mailto:thelist-bounces at lists.evolt.org] On Behalf Of Paul Waring
> Sent: Friday, 30 May 2014 8:42 p.m.
> To: thelist at lists.evolt.org
> Subject: Re: [thelist] PHP Mail() function
> 
> On Fri, May 30, 2014 at 05:15:05PM +1200, Santilal Parbhu wrote:
> > I am using the PHP mail() function to send emails from a hosted server.
> > Typically values are read from a mysql table and put into an email 
> > when requested by a user.  Periodically some users have reported that 
> > the email doesn't get sent.  I have investigated and could not find 
> > any reason.  The host provider also could not help.  Just today I was 
> > changing the formatting of the email message.  To test the formatting I
> sent test emails to myself.
> > After about an hour or so, the emails just stopped.  This was not 
> > related to any code change because I was only changing the structure 
> > of the body of the message.  The thought then occurred to me that 
> > perhaps there is a server setting that limits how many emails can be sent
> in a certain period of time.
> > Does anyone know if this is possible?
> 
> It's certainly possible for servers to limit outgoing messages in a given
> time period, either by number of recipients or number of messages, or a
> combination of the two.
> 
> --
> Paul Waring
> http://www.pwaring.com
> -- 
> 
> * * Please support the community that supports you.  * *
> http://evolt.org/help_support_evolt/
> 
> For unsubscribe and other options, including the Tip Harvester and archives
> of thelist go to: http://lists.evolt.org Workers of the Web, evolt ! 
> 
> -- 
> 
> * * Please support the community that supports you.  * *
> http://evolt.org/help_support_evolt/
> 
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt ! 

-- 
Paul Waring
http://www.pwaring.com


More information about the thelist mailing list