problem with FileEmbedder
Posted: Fri Dec 07, 2007 1:14 pm
Elo.
First : great script
... but i have a problem with FileEmbedder
i am sending 30 mails per package... and time to time i have this error and scripts stops ;(

ANY IDEA ?
sometimes 2 mails, sometimes 15 mails, sometimes 30 mails go without problem, and somtimes i get this error ;(
First : great script
... but i have a problem with FileEmbedder
i am sending 30 mails per package... and time to time i have this error and scripts stops ;(
Fatal error: Uncaught exception 'Swift_Message_MimeException' with message 'Something went wrong whilst trying to move some MIME parts during an attach(). The MIME component threw an exception:<br />Cannot remove child part identified by '4759929241902' as it does not exist. Consider using hasChild() to check.' in /xxx/lib/Swift/Message.php:542
Stack trace:
#0 /xxx/lib/Swift/Plugin/FileEmbedder.php(349): Swift_Message->attach(Object(Swift_Message_EmbeddedFile))
#1 [internal function]: Swift_Plugin_FileEmbedder->embedRemoteFile(Array)
#2 /xxx/lib/Swift/Plugin/FileEmbedder.php(418): preg_replace_callback('~? (<(?:img)...', Array, '<!DOCTYPE HTML ...')
#3 /xxx/lib/Swift.php(171): Swift_Plugin_FileEmbedder->beforeSendPerformed(Object(Swift_Events_SendEvent))
#4 /xxx. in /xxx/lib/Swift/Message.php on line 542
ANY IDEA ?
sometimes 2 mails, sometimes 15 mails, sometimes 30 mails go without problem, and somtimes i get this error ;(