I've setup the .env and the project SMTP (why are they separate? Shouldn't each project in theory have its own SMTP settings so it gets sent through there? What does the .env one do now?) but I cannot get any mail to actually send when I invite people. Additionally, the "Resend Invite" button is still broken, it should in theory (or expected) just resend invite to the organization member, but it p much always says AppwriteException they already have one pending, which is IMO the point of the button but I digress, I can't seem to get SMTP to work. On my other server, I was using Gmail's SMTP servers, and it didn't work either.
The .env one is the Appwrite one and a fallback for projects. In the project, you can configure project specific settings.
Check the docker logs for the appwrite-worker-mails container
Gotcha, any reason why that error pops up then?
The error, more specifically, is when you try to set custom SMTP settings in a project and it says SMTP must be enabled! something like that so you have to fill out the .env file
The exception on resend is probably a bug
Gotcha, I'm pretty good with PHP, I can put in a pull request?
Yes, you should fill out the .env file. Then, you can override per project
So what do you normally recommend for the base settings? The actual domain itself that Appwrite is on probably?
Ya. It's used for the appwrite platform itself. Like password recovery for your console account, inviting a user to your org, etc
Someone has already asked to work on https://github.com/appwrite/appwrite/issues/6251
Gotcha, thank you, I'll check logs rn
Yeah it says Could Not Authenticate but it's the exact same credentials as on the server
Sendmail I believe, we verified credentials last time we were on call yesterday
So it's an error when configuring the project smtp or the .env file?
.env file
Actually I don't see anyone who asked to work on this ...do you want to work on it?
This is the same with resending programmatically, I would expect?
Recommended threads
- Can't cancel account, won't stop billing...
Hi I have note used the app now do I want to use the app, I have tried to cancel the account which won't cancel, and am being billed daily which I have not aut...
- I can't share code between functions
Operating System: MacOS Appwrite Version: self-hosted 1.8.1 Appwrite CLI Version: 13.2.1 I want to split code up to share it between my functions. At the momen...
- Need help to create a wrapper which let ...
I’m looking for help setting up Appwrite properly on a VPS so I can build a self-hosting wrapper around it. The goal is to provide a Linux executable that allow...