|
|
Joined: Nov 1999
Posts: 29
Newbie
|
Newbie
Joined: Nov 1999
Posts: 29 |
Will the mass email work in php for about 10,000 users? I know there is a timeout limit for php. Have you tried this one?
Will
|
|
|
|
Joined: May 1999
Posts: 3,039
Guru
|
Guru
Joined: May 1999
Posts: 3,039 |
Not sure if it will send that many or not. I'm using bcc to send the emails in the php port. If there is a timeout issue will probably need to break it down into chunks of 1000 users or so. Once you start using the PHP version, if you do, let me know if there is a problem with this and I'll work on making these changes.
--- Scream Posted from the PHP Port Site (Post might be quirky)
UBB.threads Developer
|
|
|
|
Joined: Nov 1999
Posts: 29
Newbie
|
Newbie
Joined: Nov 1999
Posts: 29 |
Well I am afraid to try it to my user list in case it would take me a few tries and I would end up sending multiple emails to some users.
What I do know is by default php has a max time limit of 30 seconds in php.ini.
;;;;;;;;;;;;;;;;;;; ; Resource Limits ; ;;;;;;;;;;;;;;;;;;;
max_execution_time = 30 ; Maximum execution time of each script, in seconds (UNIX only)
I suppose I could change this, but I assume a lot of users who do not run their own server cannot. I believe sending out to even over a few thousand would take longer than 30 seconds, but I really dont know.
Will
|
|
|
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
Check out http://www.php.net/manual/html/function.set-time-limit.html. That page tells you how you can change the execution time limit, provided PHP isn't running in safe mode. That should do what you're looking to do. Aphex Co-Webmaster of The Shroomery http://www.shroomery.org
|
|
|
|
Joined: Dec 2004
Posts: 16
Newbie
|
Newbie
Joined: Dec 2004
Posts: 16 |
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 1,157
Joined: July 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|