| Anonymous | Login | Signup for a new account | 02-09-10 22:06 GMT | ![]() |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Print ] | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |
| 0010817 | phplist | Batch Processing | public | 26-07-07 12:17 | 21-01-08 18:50 | |
| Reporter | timeskipper | |||||
| Priority | normal | Severity | minor | Reproducibility | always | |
| Status | resolved | Resolution | fixed | |||
| Platform | OS | OS Version | ||||
| Product Version | 2.11.3 | |||||
| Target Version | 2.11.X | Fixed in Version | 2.11.X | |||
| Summary | 0010817: Throttle notification sending when importing users? | |||||
| Description | Ref: http://forums.phplist.com/viewtopic.php?p=34527 [^] Hi, I would like to import a file of few thousands emails. But when I do so and ask for notification/confirmation mail to be sent, phplist send it very fast and thus I get IP blocked. Is there a conf to throttle the notification sending at import time? Thanks | |||||
| Tags | No tags attached. | |||||
| Attached Files | ||||||
Relationships |
|||||||||||
|
|||||||||||
Notes |
|
|
(0029832) hernan (developer) 27-07-07 14:50 |
Mm, nice find. No there isn't throttle when importing and sending confirmation emails. Right now is only when processing the queue, but will we good to implement this in the next version (2.11) |
|
(0029839) timeskipper (reporter) 27-07-07 20:02 |
In the mean time I did this: - edit admin/import1.php - find the line: sendMail($email, getConfig("subscribesubject"), $subscribemessage,system_messageheaders(),$envelope); - add this right after: if (MAILQUEUE_THROTTLE) { sleep(MAILQUEUE_THROTTLE); } But in config/config.php, MAILQUEUE_THROTTLE should be defined. This modification will add a delay of MAILQUEUE_THROTTLE seconds between each mail sent. For me it is working as I expected. Will look forward to trying the next version. |
|
(0030017) hernan (developer) 02-08-07 16:51 |
Ok, I have added this trick to the import1 and import2. If you want you can check it out from cvs |
| Copyright © 2000 - 2010 MantisBT Group |