Announcement

Collapse
No announcement yet.

Can't figure out outlook extension

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Can't figure out outlook extension

    Hey there,

    I'm trying to get the Outlook Extension to do it's thing, sadly I'm only partially successful. I followed the instructions (redid multiple times even) to the letter and the result is always the same. I can connect to IMAP server, I can do contacts and cal. The only thing I cannot do is actually send a email.

    My error log below:
    Code:
    [2024-09-20 09:26:08] WARNING: E_WARNING: Undefined array key "password"
    [2024-09-20 09:26:38] 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 09:26:38] ERROR: Email sending:unknownError; 0
    [2024-09-20 09:26:41] WARNING: E_WARNING: Undefined array key "password"
    [2024-09-20 09:26:42] ERROR: Email sending error: 4.7.0 Temporary server error. Please try again later. PRX5  [PR0P264CA0062.FRAP264.PROD.OUTLOOK.COM 2024-09-20T09:26:42.571Z 08DCD4985C1A028D]
    [2024-09-20 09:26:42] WARNING: Email sending:unknownError; 0​
    EDIT: This is what shows when logger=DEBUG
    Code:
    [2024-09-20 10:52:29] DEBUG: API (500) sendingFail; POST /Email/sendTest; Input data: {"server":"smtp.outlook.com","port":587,"auth":true,"security":"TLS","username":"**@**.nl","password":null,"authMechanism":"plain","fromName":"Mac** **","fromAddress":"**@**.nl","type":"emailAccount","id":"66ed30a10f1c2f793","userId":"66b747a34897f231a","emailAddress":"*****"}; Route pattern: /Email/sendTest
    I did enable SMTP AUTH on the account, tried all combinations of MFA settings. Heck I even tried to TLS-legacy with smtp-legacy.office365.com, but nothing changes or happens. I'm using a Microsoft Business Outlook account and I'm admin.

    Can anybody point me in the right direction?

    Cheers
    Last edited by Machiel; 09-20-2024, 10:53 AM. Reason: Edit: more data

  • #2
    Update / Solved:

    This was due to me being admin. Although Microsoft doesn't have a specific error handler for this, only "error 0", I found out the hard way that all my users can send email, just not me. Because of security reasons that apply only to admins. Even when SMTP Auth is enabled for the admin, it doesn't allow it.

    Comment

    Working...
    X