Hi!

Is it possible to somehow use a buffer to collect multiple log messages to 
be sent via swiftmailer atm?

with this configuration:

    mail:
>       type: fingers_crossed
>       action_level: error
>       handler: mailed
>       buffer_size: 100
>     mailed:
>       type: swift_mailer
>       from_email: alamandi.er...@gmail.com
>       to_email: alamandi.er...@gmail.com
>       subject: Errors logged
>       level: debug
>       formatter: my_formatter


seems like swiftmailer is used to send one log line per message. That is 
really a bad idea since

   1. Some mail servers may start blocking send requests sent that often
   2. Some mail servers that receive such a big amount of mail may consider 
   it is spam
   3. It creates bigger traffic and is longer to send 100 mails instead of 1

Can swiftmailer handler be somehow configured to use a buffer?

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to symfony-devs@googlegroups.com
To unsubscribe from this group, send email to
symfony-devs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to