Open ghost opened 6 years ago
Vordefinierter Text wäre ausreichend. Button "Teste SMTP" und dann manuell die Zieladresse eingeben.
@fritzmg is this even still possible in later Contao versions (since we switched from SwiftMailer to Symfony Mailer)?
Yeah, unfortunately not, since the symfony/framework-bundle
doesn't provide something equivalent :( (though I haven't checked in the recent Symfony versions).
Maybe work on a PR for Symfony 5.4 then? Also see https://symfony.com/blog/the-end-of-swiftmailer :)
Maybe work on a PR for Symfony 5.4 then?
Yes, I always wanted to, but never got around to it 🙈. Hopefully I'll be able to do it in September :)
Did we get that feature in 4.13 now?
+1 für diese Funktion.
Symfony 6.2 will ship this command again: https://github.com/symfony/symfony/pull/47040
Symfony 6.2 will ship this command again: symfony/symfony#47040
I've been thinking that ugrading to at least Symfony 6.2 would allow this feature, however that would also raise the minimum dependency of the Contao Manager to at least "php": ">=8.1"
.
Since there are still many PHP 7.2 - 8.0 installations, this would lead to the Contao Manager being updated automatically and then no longer being usable.
We could implement the bundle from fritz tho:
The Contao Manager does not need to raise its dependencies. It only needs to check whether the mailer:test
command is available.
You mean like the install tool... I see
One thing to note though: using mailer:test
will bypass the contao.mailer
configs, as mailer:test
does not actually use the mailer
service. It sends the emails directly through the given or default transport.
Checking for the availability of the command would be easy. However, the Contao Manager currently has no interface/UI for stuff like this (e.g. also applies to https://github.com/contao/contao-manager/issues/219). Building a UI for every little setting seems kinda hard (but could be at least a temporary solution).
Issue by @contaoacademy April 9th, 2018, 13:59 GMT
Es wäre hilfreich, wenn man per Klick eine Test-Mail versenden könnte um zu überprüfen, ob die SMTP-Einstellungen korrekt gesetzt sind bzw. ob der Server die Mails versenden kann.
Kann gerne unter System-Wartung sein oder evtl. ist das auch besser im Contao Manager aufgehoben.