Closed hctom closed 8 years ago
Any news on this? I think this should really be fixed soon, because the configuration option in the admin interface does not have any effect right now.
I was kinda waiting for the dust to settle with all the PRs :) and comments. Also @flaviocopes has been looking into this so figured I would leave this to him.
Okay no problem... and I promise, I will stop bothering when all the other stuff in the PRs is done ;)
I checked the source. In the beginning it was using mailer.default
, but now the plugin uses the setting from mailer.engine
. So we should remove default
and add the select options to engine
.
I didn't realize this because I almost always edit the email.yaml
file directly, and there default
does not exist.
Is this sorted now???
Give me half an hour ;)
See #12
I just stumbled upon the following: In the blueprint there is
mailer.engine
defined as a hidden field (which of course results in no configuration options). On the other hand, there ismailer.default
, which allows configuration, because it is defined as a select field with options fornone
mail
smtp
sendmail
In the
Email
class then theplugins.email.mailer.engine
config value is used to initialize the correct mailer (which was introduced in 89274e44c52344710fcd370e3394ea1fc635ef29).So now I am really confused if something got messed up here? Perhaps the maintainers can have a look at that or give me advice how this should be solved.