Closed tistvan closed 10 years ago
You can create a custom mailer with a different configuration (see https://github.com/joscha/play-easymail/blob/master/code/app/com/feth/play/module/mail/Mailer.java#L53) - does that suffice?
Thanks for the quick answer. Can I send e-mail from the currently logged in user's e-mail address?
If you adapt the Configuration
object that is being passed, yes, certainly. However maybe the use-case is wide enough to add a senderOverride
method - if you send a PR I'd be happy to merge it.
Closing this for now...
Hello,
Is it possible with this plugin to change the sender of a single e-mail? The other mails on my project will be sent from the address I specified in my application.conf, but the contact e-mail should be sent from a different e-mail address.
Thanks