phplist

NOTE:: Before reporting an issue, make sure you are running the latest version, currently 3.3.1


View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0010817phplist applicationBatch Processingpublic26-07-07 13:1721-01-08 18:50
Reportertimeskipper 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version2.11.3 
Target Version4.0.xFixed in Version4.0.x 
Summary0010817: Throttle notification sending when importing users?
DescriptionRef: 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
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to 0002705closed PHPList v2.11 release 
related to 0011936new use campaign system to send re-request for confirmation 

-  Notes
(0029832)
user1308
27-07-07 15: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 21: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)
user1308
02-08-07 17:51

Ok, I have added this trick to the import1 and import2.
If you want you can check it out from cvs


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker