-
-
Notifications
You must be signed in to change notification settings - Fork 256
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
[Bug] Self-hosted:Unable to invite members #1100
Comments
Can you check the logs of AppFlowy cloud and see if there is any error about sending email? And just in case, check if the email ended up in spam folder. |
Also, if applicable, check if there is any error logs captured on the SMTP server as well, such as failing to send email because the destination is not one of the authorized email (eg. If you are in sandbox mode for Mailgun) |
I checked the spam emails and didn't receive any Do you need to set email related services in the. env file |
|
Check these env variables: Line 116 in 1131818
|
|
These are just example, you will have to change this to your own SMTP host. For example, Gmail, Mailgun, sendgrid etc In addition, there are two separate SMTP configuration. One for Appflowy cloud, and the other one for gotrue. For workspace invitation, the env variables are the one with the AppFlowy prefix |
Do you have an example of configuration |
Which SMTP server do you want to use? Mailgun, Gmail, Sendgrid or some other services? |
Gmail |
First, set up an app password following this guide: https://support.google.com/accounts/answer/185833?hl=en This is the password that you will be using for SMTP password, instead of your regular Gmail password. Then replace user and email with your Gmail account. After this, clear the rows/invites in the af_workspace_invitation table. Then restart Appflowy Cloud. Try sending the invitation again and see if it works this time. |
GOTRUE_SMTP_USER=email_sender@some_company.com // My email address
GOTRUE_SMTP_PASS=email_sender_password // Set application specific password
GOTRUE_SMTP_ADMIN_EMAIL=comp_admin@some_company.com // What should this be? Do I need to replace these three configurations |
For the Admin email, just set it to the same value as your user. |
I did not configure the email successfully, but I can invite users through the backend |
Bug Description
Self hosting invites members via email, but invitees are unable to receive emails
How can I invite my team members to collaborate on the project
please help me
How to Reproduce
Self-hosted
Expected Behavior
Successfully invited members
Operating System
linux or windows
AppFlowy Version(s)
v0.7.8
Screenshots
Additional Context
No response
The text was updated successfully, but these errors were encountered: