Open
Description
👟 Reproduction steps
- Update a project's SMTP settings
- Use a valid host, port, and secure protocol, but an incorrect username and password
- Click Update
👍 Expected behavior
The update should fail because the username and password are incorrect.
👎 Actual Behavior
The SMTP settings are updated successfully.
We use $mail->SmtpConnecti()
test the connection:
appwrite/app/controllers/api/projects.php
Lines 1684 to 1695 in 8e02115
However, because SMTPAuth
isn't set to true, the username and password are not checked.
We need to set SMTPAuth
like we do in the worker:
🎲 Appwrite version
Appwrite Cloud
💻 Operating system
Linux
🧱 Your Environment
No response
👀 Have you spent some time to check if this issue has been raised before?
- I checked and didn't find similar issue
🏢 Have you read the Code of Conduct?
- I have read the Code of Conduct
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
In Progress