loic-sharma / Messages

A Laravel Bundle for the Swiftmailer library
GNU Lesser General Public License v3.0
39 stars 7 forks source link

Email sent with many recipient . #26

Open rained23 opened 11 years ago

rained23 commented 11 years ago

Hi,

I use this bundle to send email, I think there is a bug for sending email, because I receive an email with multiple To recipient , it store cache the other To email and combine it with the current one. So everyone receive the email.

loic-sharma commented 11 years ago

Have you actually tested this bug, and can you confirm this actually happens?

The current setup should clear the Swiftmailer instance every time an email is sent. The internal cache is just used to check if an email was sent, it isn't actually used to send recipients to the Swiftmailer email.