Contao-Camp 2024
Ergebnis 1 bis 7 von 7

Thema: Member-Registrierung - Bestätigungsmail Fehler

  1. #1
    Contao-Nutzer
    Registriert seit
    15.09.2016.
    Beiträge
    85

    Standard Member-Registrierung - Bestätigungsmail Fehler

    Hallo,
    starte gerade ein kleines Übungsprojekt mit Contao 5.0.2. Läuft unter Windows bzw. WSL Debian, mit Docker und Devilbox. Alles lokal!

    Habe eine Registrierungsmodul eingebaut. Wenn man dieses abschickt, erscheint diese Fehlermeldung:

    request.CRITICAL: Uncaught PHP Exception Symfony\Component\Mime\Exception\RfcComplianceExce ption: "Email "" does not comply with addr-spec of RFC 2822." at /shared/httpd/.../vendor/symfony/mime/Address.php line 54 {"exception":"[object] (Symfony\\Component\\Mime\\Exception\\RfcComplianc eException(code: 0): Email "" does not comply with addr-spec of RFC 2822. at /shared/httpd/.../vendor/symfony/mime/Address.php:54)"} []

    Hat jemand ne Idee?

  2. #2
    Community-Moderator
    Wandelndes Contao-Lexikon
    Avatar von Spooky
    Registriert seit
    12.04.2012.
    Ort
    Scotland
    Beiträge
    33.896
    Partner-ID
    10107

    Standard

    Nutze den Debug-Modus und poste den Stack Trace.
    » sponsor me via GitHub or PayPal or Revolut

  3. #3
    Contao-Nutzer
    Registriert seit
    15.09.2016.
    Beiträge
    85

    Standard

    Danke schon mal, hier der Stack Trace:
    (hab meine mail-adresse in sendTo() durch '###' ersetzt)

    Code:
    Symfony\Component\Mime\Exception\RfcComplianceException:
    Email "" does not comply with addr-spec of RFC 2822.
    
      at vendor/symfony/mime/Address.php:54
      at Symfony\Component\Mime\Address->__construct('', '')
         (vendor/contao/core-bundle/contao/library/Contao/Email.php:541)
      at Contao\Email->sendTo('###')
         (vendor/contao/core-bundle/src/OptIn/OptInToken.php:123)
      at Contao\CoreBundle\OptIn\OptInToken->send()
         (vendor/contao/core-bundle/contao/modules/ModuleRegistration.php:584)
      at Contao\ModuleRegistration->resendActivationMail(object(MemberModel))
         (vendor/contao/core-bundle/contao/modules/ModuleRegistration.php:159)
      at Contao\ModuleRegistration->compile()
         (vendor/contao/core-bundle/contao/modules/Module.php:213)
      at Contao\Module->generate()
         (vendor/contao/core-bundle/contao/modules/ModuleRegistration.php:55)
      at Contao\ModuleRegistration->generate()
         (vendor/contao/core-bundle/contao/library/Contao/Controller.php:410)
      at Contao\Controller::getFrontendModule(object(ModuleModel), 'main')
         (vendor/contao/core-bundle/contao/elements/ContentModule.php:59)
      at Contao\ContentModule->generate()
         (vendor/contao/core-bundle/contao/library/Contao/Controller.php:568)
      at Contao\Controller::getContentElement(object(ContentModel), 'main')
         (vendor/contao/core-bundle/contao/modules/ModuleArticle.php:196)
      at Contao\ModuleArticle->compile()
         (vendor/contao/core-bundle/contao/modules/Module.php:213)
      at Contao\Module->generate()
         (vendor/contao/core-bundle/contao/modules/ModuleArticle.php:69)
      at Contao\ModuleArticle->generate(true)
         (vendor/contao/core-bundle/contao/library/Contao/Controller.php:496)
      at Contao\Controller::getArticle('footer-2', false, true)
         (vendor/contao/core-bundle/contao/library/Contao/InsertTags.php:588)
      at Contao\InsertTags->executeReplace('<!-- indexer::stop -->{{insert_article::footer-2}}<!-- indexer::continue -->', true)
         (vendor/contao/core-bundle/contao/library/Contao/InsertTags.php:83)
      at Contao\InsertTags->replaceInternal('<!-- indexer::stop -->{{insert_article::footer-2}}<!-- indexer::continue -->', true)
         (vendor/contao/core-bundle/src/InsertTag/InsertTagParser.php:68)
      at Contao\CoreBundle\InsertTag\InsertTagParser->callLegacyClass('<!-- indexer::stop -->{{insert_article::footer-2}}<!-- indexer::continue -->', true)
         (vendor/contao/core-bundle/src/InsertTag/InsertTagParser.php:32)
      at Contao\CoreBundle\InsertTag\InsertTagParser->replaceChunked('<!-- indexer::stop -->{{insert_article::footer-2}}<!-- indexer::continue -->')
         (vendor/contao/core-bundle/src/InsertTag/InsertTagParser.php:27)
      at Contao\CoreBundle\InsertTag\InsertTagParser->replace('<!-- indexer::stop -->{{insert_article::footer-2}}<!-- indexer::continue -->')
         (vendor/contao/core-bundle/contao/library/Contao/TemplateInheritance.php:148)
      at Contao\Template->inherit()
         (vendor/contao/core-bundle/contao/library/Contao/Template.php:290)
      at Contao\Template->parse()
         (vendor/contao/core-bundle/contao/classes/FrontendTemplate.php:42)
      at Contao\FrontendTemplate->parse()
         (vendor/contao/core-bundle/contao/modules/Module.php:244)
      at Contao\Module->generate()
         (vendor/contao/core-bundle/contao/library/Contao/Controller.php:410)
      at Contao\Controller::getFrontendModule(object(ModuleModel), 'footer')
         (vendor/contao/core-bundle/contao/pages/PageRegular.php:170)
      at Contao\PageRegular->prepare(object(PageModel))
         (vendor/contao/core-bundle/contao/pages/PageRegular.php:46)
      at Contao\PageRegular->getResponse(object(PageModel), true)
         (vendor/contao/core-bundle/contao/controllers/FrontendIndex.php:76)
      at Contao\FrontendIndex->renderPage(object(PageModel))
         (vendor/symfony/http-kernel/HttpKernel.php:153)
      at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
         (vendor/symfony/http-kernel/HttpKernel.php:75)
      at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
         (vendor/symfony/http-kernel/Kernel.php:202)
      at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
         (public/index.php:44)
    Geändert von Adnan (01.10.2022 um 18:56 Uhr)

  4. #4
    Contao-Nutzer
    Registriert seit
    15.09.2016.
    Beiträge
    85

    Standard

    Die Regriestierung funkioniert soweit, dass ein neues Mitglied angelegt wird.
    Geändert von Adnan (01.10.2022 um 18:54 Uhr)

  5. #5
    Community-Moderator
    Wandelndes Contao-Lexikon
    Avatar von Spooky
    Registriert seit
    12.04.2012.
    Ort
    Scotland
    Beiträge
    33.896
    Partner-ID
    10107

    Standard

    Du hast in deinen Systemeinstellungen bzw. deinem Website Root noch keine Administrator E-Mail Adresse festgelegt.
    » sponsor me via GitHub or PayPal or Revolut

  6. #6
    Contao-Nutzer
    Registriert seit
    15.09.2016.
    Beiträge
    85

    Standard

    Oh, sorry! DANKE!!!

  7. #7
    Community-Moderator
    Wandelndes Contao-Lexikon
    Avatar von Spooky
    Registriert seit
    12.04.2012.
    Ort
    Scotland
    Beiträge
    33.896
    Partner-ID
    10107
    » sponsor me via GitHub or PayPal or Revolut

Aktive Benutzer

Aktive Benutzer

Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)

Lesezeichen

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •