Hallo STB,
ich habe das gleiche Problem.
Bei mir kommt die Mail an, allerdings nach dem Absenden erscheint diese Fehlermeldung
Code:
Warning: mail() [function.mail]: Policy restriction in effect. The fifth parameter is disabled on this system in /customers/cnl-online.de/cnl-online.de/httpd.www/plugins/swiftmailer/classes/Swift/Transport/SimpleMailInvoker.php on line 50
#0 [internal function]: __error(2, 'mail() [<12...', '-fvarix21@gmx.d...')
#2 /customers/cnl-online.de/cnl-online.de/httpd.www/plugins/swiftmailer/classes/Swift/Transport/MailTransport.php(173): Swift_Transport_SimpleMailInvoker->mail('varix21@gmx.de', 'Kontakformular', 'Anrede: Frau?Na...', 'Message-ID: <12...', '-fvarix21@gmx.d...')
#3 /customers/cnl-online.de/cnl-online.de/httpd.www/plugins/swiftmailer/classes/Swift/Mailer.php(77): Swift_Transport_MailTransport->send(Object(Swift_Message), Array)
#4 /customers/cnl-online.de/cnl-online.de/httpd.www/system/libraries/Email.php(429): Swift_Mailer->send(Object(Swift_Message), Array)
#5 /customers/cnl-online.de/cnl-online.de/httpd.www/system/modules/frontend/Form.php(386): Email->sendTo(Array)
#6 /customers/cnl-online.de/cnl-online.de/httpd.www/system/modules/frontend/Form.php(206): Form->processFormData(Array)
#7 /customers/cnl-online.de/cnl-online.de/httpd.www/system/modules/frontend/Hybrid.php(150): Form->compile()
#8 /customers/cnl-online.de/cnl-online.de/httpd.www/system/modules/frontend/Form.php(72): Hybrid->generate()
#9 /customers/cnl-online.de/cnl-online.de/httpd.www/system/modules/frontend/ContentModule.php(70): Form->generate()
#10 /customers/cnl-online.de/cnl-online.de/httpd.www/system/libraries/Controller.php(364): ContentModule->generate()
#11 /customers/cnl-online.de/cnl-online.de/httpd.www/system/modules/frontend/ModuleArticle.php(170): Controller->getContentElement('85')
#12 /customers/cnl-online.de/cnl-online.de/httpd.www/system/modules/frontend/Module.php(127): ModuleArticle->compile()
#13 /customers/cnl-online.de/cnl-online.de/httpd.www/system/modules/frontend/ModuleArticle.php(69): Module->generate()
#14 /customers/cnl-online.de/cnl-online.de/httpd.www/system/libraries/Controller.php(297): ModuleArticle->generate(false)
#15 /customers/cnl-online.de/cnl-online.de/httpd.www/system/libraries/Controller.php(184): Controller->getArticle('16', false, false, 'main')
#16 /customers/cnl-online.de/cnl-online.de/httpd.www/system/modules/frontend/PageRegular.php(68): Controller->getFrontendModule('0', 'main')
#17 /customers/cnl-online.de/cnl-online.de/httpd.www/index.php(188): PageRegular->generate(Object(DB_Mysql_Result))
#18 /customers/cnl-online.de/cnl-online.de/httpd.www/index.php(311): Index->run()
#19 {main}
Die info.php zeigt mir an, dass bei Server API:CGI/FastCGI steht und ich habe TL 2.8.3.
Da ich kein Programmierer bin, wollte ich wissen, ob es tatsächlich das gleiche Problem ist?
Laut Ticket:http://https://contao.org/issues/1998
scheint es ja ein Swiftmailer-Problem zu sein.
Würde mir deine Lösung helfen? Wenn ja, kannst du mir sie vielleicht so erklären, dass ich das auch hinbekomme? Oder gibt es eine grundsätzliche Alternative?
Vielen Dank!
Christian
Lesezeichen