What I want to do is to create my own mail sender in addition to stamp sender. For instance, I'd like to save all mails sent (incl. headers and body) to the database. I am looking for my way around this however could not find anything that can do the trick, yet.
The trick should be able to get the prepared (populated) template and save it to the database with other mail parameters. I somehow need to override or prepare a proxy for play.libs.Mail, however it does not seem like we can put a hook there without changing Play source and modifying source code?
Is there a way to set a custom mailer or override play.libs.Mail.Mock class?
Kindly regards.
--
Ahmet Alp Balkan