I try to send e-mails via SMTP without authentification and I'm getting the following error:

There was an error testing your email settings.

I checked my setup on https://www.smtper.net/. No problems!

I read through the troubleshooting-email-errors page but still found no solution for my problem.

Why can't I find a log under craft/storage/runtime/logs/craft.log. This file does not exist on my system. There is only craft/storage/logs/web.log.

When I use another SMTP server (with auth) everything works as expected. Any ideas on how to find out what's going on here?

  • Is there any related errors being logged in craft/storage/logs/web.log?
    – Brad Bell
    Commented May 27, 2019 at 18:24
  • All I get there is: [info][yii\mail\BaseMailer::send] Sending email "This is a test email from Craft" to "[email protected]" [info][yii\swiftmailer\Mailer::sendMessage] Sending email "This is a test email from Craft" to "[email protected]" [warning][application] Error sending email: Connection could not be established with host mycompany-de.mail.protection.outlook.com [Connection timed out #110]
    – rttmax
    Commented May 28, 2019 at 9:15

1 Answer 1


My guess is that protection.outlook.com simply doesn't allow un-authenticated connections, because well... I'm sure they relay enough SPAM with authenticated connections, much less unauthenticated ones.

  • This was my guess too. But why does the same configuration work on smtper.net? As long as the sender e-mail is in our domain everything works fine.
    – rttmax
    Commented May 29, 2019 at 7:56
  • Itt's the official way to send e-mails with office 365: docs.microsoft.com/de-de/exchange/mail-flow-best-practices/…
    – rttmax
    Commented May 31, 2019 at 7:39
  • Where are you seeing that? "Requirements for SMTP client submission Authentication : You must be able to configure a username and password to send emails on the device."
    – Brad Bell
    Commented May 31, 2019 at 18:57
  • I'm trying to do Option 2, Direct send and I tested the setup successfully in an other environment.
    – rttmax
    Commented Jun 3, 2019 at 7:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.