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
- Realtime with multiple connections
I need the Realtime on multiple Collections for diffrent applicational logic. So my question is: Is there a way to have only 1 Websocket connection or do I need...
- Can't login or deploy functions in Appwr...
Hello, since i updatet to the appwrite cli 6.1.0 i can't login or deploy functions with the cli. When i call the command: "appwrite get account --verbose" i ge...
- Create admin user?
I'm not really sure how this is supposed to work, I installed Appwrite through docker-compose and set it up. When I launched the app and went into it, I created...