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
Mailversand über Swiftmailer, Sendmail command ändern? #1261
Comments
Du müsstest wohl deinen eigenen Mailer (Service) konfigurieren: // Create the Transport
$transport = new Swift_SendmailTransport('/usr/sbin/sendmail -t -i');
// Create the Mailer using your created Transport
$mailer = new Swift_Mailer($transport); |
OK, derzeit werden die Emails über das Notifictaion Center verschickt, wie stelle ich das hier ein? Ich dachte es gibt eventuell eine globale Einstellung. |
Du müsstest den Service |
Danke für die Info, kannst du mir bitte ein Beispiel geben, habe ein Service noch nie überschrieben in Contao. |
Contao überschreibt bzw. decorated z. B. den contao/core-bundle/src/Resources/config/services.yml Lines 771 to 776 in feda301
|
Super Danke! Bei einem anderen Hostinganbieter funktioniert der Email versandt ohne das ich etwas ändern muss, auf diesem aber leider nicht. |
Eine weitere Möglichkeit wäre, die Standardkonfiguration des Services
Laut https://symfony.com/doc/current/reference/configuration/swiftmailer.html#command müsste sich |
@pressi Könntest du kurz genauer beschreiben, wie du das Problem nun gelöst hast? |
@xstable in Contao 4.4 und 4.9 zB so: # config/config.yml
swiftmailer:
mailers:
default:
transport: sendmail
command: '/usr/sbin/sendmail -t -i' In Contao 4.10 geht das aktuell leider nicht. Siehe symfony/symfony#37432 In Symfony 5.2 wird es aber einen |
If you update |
Hallo,
seit Contao 4.8 funktioniert auf meiner Webseite der Emailversand nicht mehr.
Nach langer Suche und Zusammenarbeit mit dem Hosting Support bin ich auf den Fehler gestoßen.
Beim Swiftmailer SendmailTransport ist diese 'command' => '/usr/sbin/sendmail -bs' hinterlegt.
Damit es bei mir am Hosting funktioniert müsste aber '/usr/sbin/sendmail -t -i' hinterlegt werden.
Meine Frage, wo und wie kann das geändert werden?
Auch so das es update sicher ist.
Danke & LG
The text was updated successfully, but these errors were encountered: