Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP further refactorings #1

Open
till opened this issue Nov 4, 2012 · 0 comments
Open

WIP further refactorings #1

till opened this issue Nov 4, 2012 · 0 comments
Assignees

Comments

@till
Copy link
Member

till commented Nov 4, 2012

Mail_Queue's current public API leaves a lot to be desired.

  • use ArrayObject to be able to iterate across the queue more easily
  • remove put and implement something like add(Body $mail)
  • take a look at the callback implementation
  • add fluent interfaces
  • add set*() methods for what is public (and do proper validations)

Mail sending

  • decouple mail sending
  • allow/support different mailers (Zend_Mail, Zend\Mail, Swiftmailer)

Containers

  • add a Doctrine container
  • research suitable systems for this

logger

  • supporting a logger would be nice as well to escalate to syslog, etc.
  • figure out if PEAR has something suitable (or use Zend\Log or monolog)
@ghost ghost assigned till Nov 4, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant