[SOLVED] Swiftmailer Error in production mode

After switching into production mode the following errors occurs submitting a form:

security.log:
INFO Neos.Flow Decided “DENIED” on privilege “Neos.Neos:Backend.GeneralAccess”.

system.log:
ERROR Neos.Fusion Exception in line 358 of /html/neos/Packages/Libraries/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php: Expected response code 220 but got an empty response - See also: 201910171135352739dd.txt

no problems in development mode. Using the same swiftmailer settings in both modes.

Did you have any SwiftMailer related settings inside a Configuration/Development/Settings.yaml that you haven’t moved out of the Development configuration?

And also have a look in the provided log file 201910171135352739dd.txt in Data/Logs

Hi Soren,

many thanks for your reply. That was indeed the problem. A small difference in the Settings.yaml files which I did not see at first sight

1 Like