Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues setting up System emails #4472

Open
JamesMoo-it opened this issue Jan 13, 2025 · 5 comments
Open

Issues setting up System emails #4472

JamesMoo-it opened this issue Jan 13, 2025 · 5 comments

Comments

@JamesMoo-it
Copy link

Hi.

I am trying to set up system emails so I can invite users. However getting the following error:

The user has SMTP Authentication enabled on the mail box

++ Starting Swift_SmtpTransport
<< 220 FR3P281CA0057.outlook.office365.com Microsoft ESMTP MAIL Service ready at Mon, 13 Jan 2025 13:42:45 +0000 [08DD32D465DA2413]

EHLO [127.0.0.1]

<< 250-FR3P281CA0057.outlook.office365.com Hello [168.119.68.214]
250-SIZE 157286400
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-STARTTLS
250-8BITMIME
250-BINARYMIME
250-CHUNKING
250 SMTPUTF8

STARTTLS

<< 220 2.0.0 SMTP server ready

EHLO [127.0.0.1]

<< 250-FR3P281CA0057.outlook.office365.com Hello [168.119.68.214]
250-SIZE 157286400
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-AUTH LOGIN XOAUTH2
250-8BITMIME
250-BINARYMIME
250-CHUNKING
250 SMTPUTF8

AUTH LOGIN

<< 334 VXNlcm5hbWU6

ZnJlZXNjb3V0

<< 334 UGFzc3dvcmQ6

VGhlbWFkbnVuMTAh

<< 535 5.7.3 Authentication unsuccessful [FR3P281CA0057.DEUP281.PROD.OUTLOOK.COM 2025-01-13T13:42:51.691Z 08DD32D465DA2413]

!! Expected response code 235 but got code "535", with message "535 5.7.3 Authentication unsuccessful [FR3P281CA0057.DEUP281.PROD.OUTLOOK.COM 2025-01-13T13:42:51.691Z 08DD32D465DA2413]
" (code: 535)
!! Expected response code 235 but got code "535", with message "535 5.7.3 Authentication unsuccessful [FR3P281CA0057.DEUP281.PROD.OUTLOOK.COM 2025-01-13T13:42:51.691Z 08DD32D465DA2413]
"
Log data:
++ Starting Swift_SmtpTransport
<< 220 FR3P281CA0057.outlook.office365.com Microsoft ESMTP MAIL Service ready at Mon, 13 Jan 2025 13:42:45 +0000 [08DD32D465DA2413]

EHLO [127.0.0.1]

<< 250-FR3P281CA0057.outlook.office365.com Hello [168.119.68.214]
250-SIZE 157286400
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-STARTTLS
250-8BITMIME
250-BINARYMIME
250-CHUNKING
250 SMTPUTF8

STARTTLS

<< 220 2.0.0 SMTP server ready

EHLO [127.0.0.1]

<< 250-FR3P281CA0057.outlook.office365.com Hello [168.119.68.214]
250-SIZE 157286400
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-AUTH LOGIN XOAUTH2
250-8BITMIME
250-BINARYMIME
250-CHUNKING
250 SMTPUTF8

AUTH LOGIN

<< 334 VXNlcm5hbWU6

ZnJlZXNjb3V0

<< 334 UGFzc3dvcmQ6

VGhlbWFkbnVuMTAh

<< 535 5.7.3 Authentication unsuccessful [FR3P281CA0057.DEUP281.PROD.OUTLOOK.COM 2025-01-13T13:42:51.691Z 08DD32D465DA2413]

!! Expected response code 235 but got code "535", with message "535 5.7.3 Authentication unsuccessful [FR3P281CA0057.DEUP281.PROD.OUTLOOK.COM 2025-01-13T13:42:51.691Z 08DD32D465DA2413]
" (code: 535) (code: 535)

RSET

<< 250 2.0.0 Resetting

AUTH XOAUTH2 dXNlcj1mcmVlc2NvdXQBYXV0aD1CZWFyZXIgVGhlbWFkbnVuMTAhAQE=

<< 535 5.7.3 Authentication unsuccessful [FR3P281CA0057.DEUP281.PROD.OUTLOOK.COM 2025-01-13T13:43:01.692Z 08DD32D465DA2413]

!! Expected response code 235 but got code "535", with message "535 5.7.3 Authentication unsuccessful [FR3P281CA0057.DEUP281.PROD.OUTLOOK.COM 2025-01-13T13:43:01.692Z 08DD32D465DA2413]
" (code: 535)
!! Expected response code 235 but got code "535", with message "535 5.7.3 Authentication unsuccessful [FR3P281CA0057.DEUP281.PROD.OUTLOOK.COM 2025-01-13T13:43:01.692Z 08DD32D465DA2413]
"
Log data:
++ Starting Swift_SmtpTransport
<< 220 FR3P281CA0057.outlook.office365.com Microsoft ESMTP MAIL Service ready at Mon, 13 Jan 2025 13:42:45 +0000 [08DD32D465DA2413]

EHLO [127.0.0.1]

<< 250-FR3P281CA0057.outlook.office365.com Hello [168.119.68.214]
250-SIZE 157286400
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-STARTTLS
250-8BITMIME
250-BINARYMIME
250-CHUNKING
250 SMTPUTF8

STARTTLS

<< 220 2.0.0 SMTP server ready

EHLO [127.0.0.1]

<< 250-FR3P281CA0057.outlook.office365.com Hello [168.119.68.214]
250-SIZE 157286400
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-AUTH LOGIN XOAUTH2
250-8BITMIME
250-BINARYMIME
250-CHUNKING
250 SMTPUTF8

AUTH LOGIN

<< 334 VXNlcm5hbWU6

ZnJlZXNjb3V0

<< 334 UGFzc3dvcmQ6

VGhlbWFkbnVuMTAh

<< 535 5.7.3 Authentication unsuccessful [FR3P281CA0057.DEUP281.PROD.OUTLOOK.COM 2025-01-13T13:42:51.691Z 08DD32D465DA2413]

!! Expected response code 235 but got code "535", with message "535 5.7.3 Authentication unsuccessful [FR3P281CA0057.DEUP281.PROD.OUTLOOK.COM 2025-01-13T13:42:51.691Z 08DD32D465DA2413]
" (code: 535)
!! Expected response code 235 but got code "535", with message "535 5.7.3 Authentication unsuccessful [FR3P281CA0057.DEUP281.PROD.OUTLOOK.COM 2025-01-13T13:42:51.691Z 08DD32D465DA2413]
"
Log data:
++ Starting Swift_SmtpTransport
<< 220 FR3P281CA0057.outlook.office365.com Microsoft ESMTP MAIL Service ready at Mon, 13 Jan 2025 13:42:45 +0000 [08DD32D465DA2413]

EHLO [127.0.0.1]

<< 250-FR3P281CA0057.outlook.office365.com Hello [168.119.68.214]
250-SIZE 157286400
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-STARTTLS
250-8BITMIME
250-BINARYMIME
250-CHUNKING
250 SMTPUTF8

STARTTLS

<< 220 2.0.0 SMTP server ready

EHLO [127.0.0.1]

<< 250-FR3P281CA0057.outlook.office365.com Hello [168.119.68.214]
250-SIZE 157286400
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-AUTH LOGIN XOAUTH2
250-8BITMIME
250-BINARYMIME
250-CHUNKING
250 SMTPUTF8

AUTH LOGIN

<< 334 VXNlcm5hbWU6

ZnJlZXNjb3V0

<< 334 UGFzc3dvcmQ6

VGhlbWFkbnVuMTAh

<< 535 5.7.3 Authentication unsuccessful [FR3P281CA0057.DEUP281.PROD.OUTLOOK.COM 2025-01-13T13:42:51.691Z 08DD32D465DA2413]

!! Expected response code 235 but got code "535", with message "535 5.7.3 Authentication unsuccessful [FR3P281CA0057.DEUP281.PROD.OUTLOOK.COM 2025-01-13T13:42:51.691Z 08DD32D465DA2413]
" (code: 535) (code: 535)

RSET

<< 250 2.0.0 Resetting

AUTH XOAUTH2 dXNlcj1mcmVlc2NvdXQBYXV0aD1CZWFyZXIgVGhlbWFkbnVuMTAhAQE=

<< 535 5.7.3 Authentication unsuccessful [FR3P281CA0057.DEUP281.PROD.OUTLOOK.COM 2025-01-13T13:43:01.692Z 08DD32D465DA2413]

!! Expected response code 235 but got code "535", with message "535 5.7.3 Authentication unsuccessful [FR3P281CA0057.DEUP281.PROD.OUTLOOK.COM 2025-01-13T13:43:01.692Z 08DD32D465DA2413]
" (code: 535) (code: 535)

RSET

<< 250 2.0.0 Resetting

@presswizards
Copy link

@JamesMoo-it Hmm it says Authentication unsuccessful all over the place... you have to fix that, it's either wrong email address or password, or they require a different configuration to be able to use their SMTP. I'd recommend Mailgun.com or something similar.

@JamesMoo-it
Copy link
Author

JamesMoo-it commented Jan 14, 2025

@presswizards @freescout-help

I have set this up as a normal mailbox as a test and it fully works the issue is within the configuration of the system emails. As you can see in the screenshot below that the normal mail box sends the email fine. However when trying to use the mailbox as the system mailbox I get the authentication error

@JamesMoo-it
Copy link
Author

image

@presswizards
Copy link

@JamesMoo-it Oh so the mailbox sends great, it's only the Mail Settings for the System Emails that is not working? I would think they would use the same process as the mailbox with the same settings, so that would def be a question for @freescout-help - although I do see that the System Email settings are slightly different that the Mailbox, the TLS drop-down doesn't have +StartTLS like the mailbox does, although that is probably just a label difference I would assume.

For my server I have it relaying everything out via Mailgun so I just use PHP mail() and it works at the server level.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants