Sending emails stopped working today - basic authentication disabled error in log

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • victor
    commented on 's reply
    Your email address is not xxx@outlook.com, but xxx@kelimar.co.uk. And your first post in this thread is about a problem with xxx@outlook.com. And I asked for a screenshot of the settings of the problematic email account with the address xxx@outlook.com. That's why I personally don't understand anything at all now.
    Please structure your messages into a single report with screenshots and steps for reproducing.

  • crmscot
    replied
    Hi Victor
    I've followed your suggestions and used another browser (Firefox) but get the same result. If I send an email from my xxxxx.kelimar.com account it sends correctly. However if I use the drop down when composing and email and select my other email address (xxxxx@outlook.com) which used to work just fine this fails with an "Email sending failed: Unknown error" message at the top of the screen. The Espocrm error log now shows the following:-
    [2024-09-20 12:16:52] ERROR: Email sending error: cannot connect to host; error = stream_socket_client(): Unable to connect to ssl://smtp.office365.com:465 (Connection timed out) (errno = 0 )
    [2024-09-20 12:16:52] ERROR: Email sending:unknownError; 0
    This message has changed since yesterday when it was as I reported above. Previously it was "basic authentication is disabled". Here is the screenshot you requested:

    Click image for larger version

Name:	Screenshot 2024-09-20 131504.png
Views:	364
Size:	60.9 KB
ID:	110409

    I've tried with the smtp "Auth" box unchecked and it makes no difference.
    ​​

    Leave a comment:


  • victor
    commented on 's reply
    Try the following:
    - press the "Disconnect" button;
    - go to an anonymous browser tab or a browser that is not used for EspoCRM and "Connect" from there;
    - if successful, try to send a test email;
    - if not successful - send screenshots of your SMTP settings for Personal Email Account.

  • crmscot
    replied
    Yes, I'm using the connect button and the status is 'connected' (green) but this only works with my exchange 365 domain. Perhaps what I have been doing in the past is no longer allowed by Microsoft? I've been using an alias (xxxxxx@outlook.com) to send emails from my exchange 365 domain account (xxxxxx@kelimar.com). When I look at the account in Azure, I cannot set up an alias with another domain.

    Basically I want to be able to send emails from my xxxx.outlook.com address using Espocrm. Any advice on how to do this correctly would be appreciated.

    Leave a comment:


  • yuri
    replied
    Do you connect your email account to the outlook account with Connect button?

    Microsoft disabled basic authentication the other day.

    Leave a comment:


  • Sending emails stopped working today - basic authentication disabled error in log

    I have been using the Outlook extension (V1.34) with our exchange356 account successfully for some time. Today, I am unable to send emails from my personal account and get a "basic authentication is disabled" error in the log file.

    I only have a personal email account set up in Espocrm (V8.4.1) and I've been successfully sending and receiving emails this way for a long time.

    In my user profile I have 2 email accounts, one at the exchange356 domain and the other at outlook.com. Previously, when sending emails I have been able to select either account from the drop down when creating a new email and both have worked OK.

    Today, only sending from the exchange domain account works. Using the @outlook.com address fails every time with the above error.

    It's made me realise I don't know how I got this working in the first place!

    Does anyone know if Microsoft has changed something that's now blocking my outlook.com address being used with exchange365 domain? My outlook.com account still works correctly with MS Outlook.
Working...