Hallo,
ich versuche mich gerade an
https://docs.contao.org/manual/de/sy...-konfiguration
in Contao 4.13
hier möchte ich auch 2 unterschiedliche Absender hinterlegen, da ich 2 Domains in Contao nutze welche je einen extra Auftritt haben.
Ich habe alles nach Vorlage eingetragen Auch da @ Zeichen und Sonderzeichen Codiert.
ProdCache läuft sauber durch
trotzdem erhalte ich einen Fehler
HTML-Code:
[2023-09-14T08:00:28.852009+00:00] request.CRITICAL: Uncaught PHP Exception Symfony\Component\Mailer\Exception\TransportException: "Unable to connect with STARTTLS: stream_socket_enable_crypto(): Peer certificate CN=`mail.erstedomain.de' did not match expected CN=`mail.zweitedomain.de'" at /var/www/vhosts/*****.de/httpdocs/*****/vendor/symfony/mailer/Transport/Smtp/Stream/SocketStream.php line 171 {"exception":"[object] (Symfony\\Component\\Mailer\\Exception\\TransportException(code: 0): Unable to connect with STARTTLS: stream_socket_enable_crypto(): Peer certificate CN=`mail.erstedomain.de' did not match expected CN=`mail.zweitedomain.de' at /var/www/vhosts/*****.de/httpdocs/******/vendor/symfony/mailer/Transport/Smtp/Stream/SocketStream.php:171)"} []
mein config.yml Eintrag
HTML-Code:
framework:
mailer:
transports:
Domain1: smtp://kontakt%%40domain1.de:Passwort@mail.domain1.de:465
Domain2: smtp://info%%40domain2.de:Passwort@mail.domain2.de:587
contao:
url_suffix: ""
mailer:
transports:
Domain1: ~
Domain2: ~
Ich habe Sonderzeichen
# == %%23
! == %%21
Zudem habe ich in der parameters.ym noch die SMTP Daten für die Domain1 stehen.
Auswählen kann ich die Mailer im Formular oder NFC
Danke schon mal
Lesezeichen