![](https://cdn.discordapp.com/avatars/348666300815638529/1b7de6aeaee66e70ebba9d86a1c27f15.webp)
it was the credential I was testing before
![](https://cdn.discordapp.com/embed/avatars/0.png)
No idea. But seems the connection is being refused for some reason
![](https://cdn.discordapp.com/avatars/348666300815638529/1b7de6aeaee66e70ebba9d86a1c27f15.webp)
any other alterantive solution
![](https://cdn.discordapp.com/embed/avatars/0.png)
I think it's a provider issue. However it could be some firewall blocking the connection too
![](https://cdn.discordapp.com/avatars/348666300815638529/1b7de6aeaee66e70ebba9d86a1c27f15.webp)
maybe
![](https://cdn.discordapp.com/avatars/348666300815638529/1b7de6aeaee66e70ebba9d86a1c27f15.webp)
what to enable?
![](https://cdn.discordapp.com/avatars/348666300815638529/1b7de6aeaee66e70ebba9d86a1c27f15.webp)
this is new server, might be blocked
![](https://cdn.discordapp.com/avatars/348666300815638529/1b7de6aeaee66e70ebba9d86a1c27f15.webp)
I only want to invite new user to organiation, actually, i dont need smtp
![](https://cdn.discordapp.com/embed/avatars/0.png)
I think you should first try using a different provider like sendgrid. However a solution for the worst case is generating an invite code and sending it to an user with the sendgrid or mailgun API
![](https://cdn.discordapp.com/embed/avatars/0.png)
But I think team invites is the best solution
![](https://cdn.discordapp.com/embed/avatars/0.png)
Forgot to mention, did you have set all SMTP fields including email name?
![](https://cdn.discordapp.com/avatars/348666300815638529/1b7de6aeaee66e70ebba9d86a1c27f15.webp)
generating invite code sound good to me.
![](https://cdn.discordapp.com/avatars/348666300815638529/1b7de6aeaee66e70ebba9d86a1c27f15.webp)
yes i did
![](https://cdn.discordapp.com/avatars/348666300815638529/1b7de6aeaee66e70ebba9d86a1c27f15.webp)
I test with local machine, it works
![](https://cdn.discordapp.com/avatars/348666300815638529/1b7de6aeaee66e70ebba9d86a1c27f15.webp)
but in server not work sendgrid
![](https://cdn.discordapp.com/embed/avatars/0.png)
Weird. I think it's because a firewall or the provider is blocking it
![](https://cdn.discordapp.com/avatars/348666300815638529/1b7de6aeaee66e70ebba9d86a1c27f15.webp)
how can I check my network server is allowed port ?
![](https://cdn.discordapp.com/avatars/348666300815638529/1b7de6aeaee66e70ebba9d86a1c27f15.webp)
587 this port righh?
![](https://cdn.discordapp.com/avatars/348666300815638529/1b7de6aeaee66e70ebba9d86a1c27f15.webp)
strange. I even use the working mailgun , but no luck
![](https://cdn.discordapp.com/avatars/462046107556511744/504fd808296728e8e89d82b8ea1e77a9.webp)
Usually, if the vps provider is blocking smtp, you'll get a connection timeout error
![](https://cdn.discordapp.com/avatars/348666300815638529/1b7de6aeaee66e70ebba9d86a1c27f15.webp)
I found, the network blocks port 587
![](https://cdn.discordapp.com/avatars/348666300815638529/1b7de6aeaee66e70ebba9d86a1c27f15.webp)
now it is working.
![](https://cdn.discordapp.com/embed/avatars/0.png)
So after changing port it works?
![](https://cdn.discordapp.com/avatars/348666300815638529/1b7de6aeaee66e70ebba9d86a1c27f15.webp)
yes right!
![](https://cdn.discordapp.com/avatars/348666300815638529/1b7de6aeaee66e70ebba9d86a1c27f15.webp)
[Closed] how to add microsfot 365 as smtp smtp ? authentication fail
Recommended threads
- Is there way to ensure the backup and re...
So, there is a case I faced right now. I have successfully backup (no error thrown) and restoration (no error thrown) I can access console normally. However, ...
- How to use relationship in appwrite data...
I'm making an expense tracker application . account collection has a relationship with expense collection . How can I access it so that it updates my account co...
- Contact support team button isn't workin...
Trying to contact support team but it got "There was an error submitting your support ticket. Please try again later." But please don't fix this yet.. please ...
![](/images/bgs/pre-footer.png)