-
-
Notifications
You must be signed in to change notification settings - Fork 139
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
SMTP configuration error #520
Comments
same error in Docker |
Hi. Sorry for the delay. Can you open the developer tools, go to the network tab, try again to press the test button. Clink on the call that is failing and it shows some info on the right side. If you click on the Response panel, it should show the actual error. The two errors I see often are:
Regards. |
Please click the testemailnotifications.php on that list and then click on response. The error should be visible there. |
<br />
<b>Fatal error</b>: Uncaught PHPMailer\PHPMailer\Exception: SMTP Error:
Could not authenticate. in /var/www/html/libs/PHPMailer/PHPMailer.php:2223
Stack trace:
#0 /var/www/html/libs/PHPMailer/PHPMailer.php(2023):
PHPMailer\PHPMailer\PHPMailer->smtpConnect(Array)
#1 /var/www/html/libs/PHPMailer/PHPMailer.php(1682):
PHPMailer\PHPMailer\PHPMailer->smtpSend('Date: Mon, 23 S...', 'This is a
test ...')
#2 /var/www/html/libs/PHPMailer/PHPMailer.php(1516):
PHPMailer\PHPMailer\PHPMailer->postSend()
#3 /var/www/html/endpoints/notifications/testemailnotifications.php(69):
PHPMailer\PHPMailer\PHPMailer->send()
#4 {main}
thrown in <b>/var/www/html/libs/PHPMailer/PHPMailer.php</b> on line
<b>2223</b><br />
…On Mon, Sep 23, 2024 at 7:38 AM Miguel Ribeiro ***@***.***> wrote:
Hi. Sorry for the delay.
I have to find a way to have it show the actual error there.
Can you open the developer tools, go to the network tab, try again to
press the test button. Clink on the call that is failing and it shows some
info on the right side. If you click on the Response panel, it should show
the actual error.
The two errors I see often are:
- using your Gmail password when you should be using an app password
that you can create on your Google account.
- using an SMTP service that requires the "from email" field to be
filled.
Regards.
—
Reply to this email directly, view it on GitHub
<#520 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AY5QMVYHH75NGMTELRQYUW3ZYADU5AVCNFSM6AAAAABORX5HZCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRYGA4TINZVGA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Please verify that the username and password are correct. |
I was using the wrong username. Thanks for the help. |
yap I got a error of authenticate,it's very stange, cause of I using my In App Password for my hotmail smtp ,but I checked the setting of every domin port useranme and password and found they're all correct. |
I met the same error, found out that if you are using onmicrosoft.com or outlook.com you may need to fill in the "from email" field with the email you are using |
Same here as ACnoway, using Proton as smtp. If i kept the from address blank it gave me that error, if I filled out the optional from address it worked fine. |
Using the test button while configuring SMTP settings results in the following error:
Error
SyntaxError: Unexpected token '<', "
"... is not valid JSON
I'm using Docker compose.
Folders are created by docker and owned by user and group 82. Internal folders are owned by user and group www-data.
Everything else seems to be working as expected.
The text was updated successfully, but these errors were encountered: