Asus EN8800GTS, Asus P5E, Intel E8400, 2x500gb Spinpoint (raid0), Zalman HP 600 watt, cnps 9500 led, creative xfi music, 4x1gb hyperX PC2 8500
Je zou de standaard ThrottlePlugin van de SwiftMail kunnen gebruiken.
Meer informatie kun je hier vinden:
- http://swiftmailer.org/docs/throttler-plugin-howto
- http://www.symfony-projec...sing_swift_mailer_plugins
PHP:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
| $mailer = $this->getMailer(); //Rate limit to 100 emails per-minute $plugin = new Swift_Plugins_ThrottlerPlugin( 100, Swift_Plugins_ThrottlerPlugin::MESSAGES_PER_MINUTE ); $mailer->registerPlugin($plugin); //Continue sending as normal for ($lotsOfRecipients as $recipient) { ... $mailer->send( ... ); } |
Meer informatie kun je hier vinden:
- http://swiftmailer.org/docs/throttler-plugin-howto
- http://www.symfony-projec...sing_swift_mailer_plugins
Ik zie even niet wat dit met PRG te maken heeft? Ik zie geen concrete PRG vragen en je vragen lijken me prima te beantwoorden als je even de documentatie er bij neemt of even contact op neemt met de leverancier/auteur/firma/whatever.
There are only two hard problems in distributed systems: 2. Exactly-once delivery 1. Guaranteed order of messages 2. Exactly-once delivery.
Je eigen tweaker.me redirect
Over mij
Dit topic is gesloten.