[SOLVED] Neos/Swiftmailer SmtpTansport

Hey guys,

I have tried to send mails via a Google Cloud VM. Since Google prohibits the default ports (25, …), I have tried using the Swiftmailer settings to define Mailgun, unfortunately without success. I have copied the lines into the Settings.yaml of the Neos installation.

Btw: The test procedure in the commandline (from mailgun) works fine. API and SMTP via swaks

Can you help me?

SwiftMailer:
  transport:
    type: 'Swift_SmtpTransport'
    options:
      host: 'smtp.mailgun.org'
      port: 2525
      username: 'postmaster@sandbox1ae74ee3f1034d69bf8a29d37453a2cb.mailgun.org'
      password: 'mypassword'

Did you maybe forget that SwiftMailer is a configuration key inside the Neos or TYPO3 namespace (depending on your Flow version)?

So your config should start with

Neos:
  SwiftMailer:
    transport:
    [...]

Hi Lorenz!

Thank you for your answer. I did not put Swiftmailer below Neos. The config works now!

Thx,
Pat

You’re welcome. Please prefix the topic with [SOLVED]