In testing my script, sending to a few recipients was very fast.
Now Im running in production and the actual send for each email is taking > 30 seconds PER email address. Is this normal?
Im using the anti-flood plugin, limits set to 100 emails with 10 second nap between batches.
SwiftMailer script not running very swiftly...
Moderators: Chris Corbyn, General Moderators
Re: SwiftMailer script not running very swiftly...
Never mind, I figured this out. The problem was a slow database query which Ive now changed to run much faster.
Is there anyway to catch this exception?
"The recipients parameter must either be a valid string email address, an instance of Swift_RecipientList or an instance of Swift_Address."
Im sending out a large mailing and get this exception when it finds an incorrectly formatted email address.
Is there anyway to catch this exception?
"The recipients parameter must either be a valid string email address, an instance of Swift_RecipientList or an instance of Swift_Address."
Im sending out a large mailing and get this exception when it finds an incorrectly formatted email address.
Last edited by symbiat on Tue Jul 01, 2008 8:53 am, edited 1 time in total.
Re: SwiftMailer script not running very swiftly...
OK, I put in a generic exception handler to take care of it. Never mind (again
)