<p>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.</p>

CC BY-SA 4.0
2019-05-29T07:56:15.503Z
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
CC BY-SA 4.0
2019-05-31T07:39:21.603Z
Itt's the official way to send e-mails with office 365: https://docs.microsoft.com/de-de/exchange/mail-flow-best-practices/how-to-set-up-a-multifunction-device-or-application-to-send-email-using-office-3
rttmax
CC BY-SA 4.0
2019-05-31T18:57:31.220Z
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
CC BY-SA 4.0
2019-06-03T07:42:23.673Z
I'm trying to do [Option 2, Direct send](https://docs.microsoft.com/de-de/exchange/mail-flow-best-practices/how-to-set-up-a-multifunction-device-or-application-to-send-email-using-office-3#option-2-send-mail-directly-from-your-printer-or-application-to-office-365-direct-send) and I tested the setup successfully in an other environment.
rttmax
CC BY-SA 4.0
2019-05-28T19:07:34.170Z
2019-05-28T19:07:34.170Z
Brad Bell
<p>I try to send e-mails via SMTP without authentification and I'm getting the following error:</p>

<blockquote>
  <p>There was an error testing your email settings.</p>
</blockquote>

<p>I checked my setup on <a href="https://www.smtper.net/" rel="nofollow noreferrer">https://www.smtper.net/</a>. No problems!</p>

<p>I read through the <a href="https://craftcms.com/guides/troubleshooting-email-errors" rel="nofollow noreferrer">troubleshooting-email-errors</a> page but still found no solution for my problem.</p>

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

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

CC BY-SA 4.0
2019-05-27T18:24:14.420Z
Is there any related errors being logged in `craft/storage/logs/web.log`?
Brad Bell
CC BY-SA 4.0
2019-05-28T09:15:26.673Z
All I get there is:

[info][yii\mail\BaseMailer::send] Sending email "This is a test email from Craft" to "myname@mycompany.de"

[info][yii\swiftmailer\Mailer::sendMessage] Sending email "This is a test email from Craft" to "myname@mycompany.de"

[warning][application] Error sending email: Connection could not be established with host _mycompany-de_.mail.protection.outlook.com [Connection timed out #110]
rttmax
<emails><error><logs>
send e-mails via smtp without authentification
# send e-mails via smtp without authentification

(Asked by: username_0 on 2019-05-27)

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](https://craftcms.com/guides/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?

**Tags:** emails, error, logs

> **Comments:**
> **username_1**: Is there any related errors being logged in `craft/storage/logs/web.log`?  
> **username_0**: All I get there is:  [info][yii\mail\BaseMailer::send] Sending email "This is a test email from Craft" to "myname@mycompany.de"  [info][yii\swiftmailer\Mailer::sendMessage] Sending email "This is a test email from Craft" to "myname@mycompany.de"  [warning][application] Error sending email: Connection could not be established with host _mycompany-de_.mail.protection.outlook.com [Connection timed out #110]  

---

## 1 answers

### Answer by username_1 on 2019-05-28. Score: 0

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.

> **Comments:**
> **username_0**: 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.  
> **username_0**: Itt's the official way to send e-mails with office 365: https://docs.microsoft.com/de-de/exchange/mail-flow-best-practices/how-to-set-up-a-multifunction-device-or-application-to-send-email-using-office-3  
> **username_1**: 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."  
> **username_0**: I'm trying to do [Option 2, Direct send](https://docs.microsoft.com/de-de/exchange/mail-flow-best-practices/how-to-set-up-a-multifunction-device-or-application-to-send-email-using-office-3#option-2-send-mail-directly-from-your-printer-or-application-to-office-365-direct-send) and I tested the setup successfully in an other environment.  

---

