Back

[Closed] how to add microsfot 365 as smtp smtp ? authentication fail

  • 0
  • Self Hosted
  • General
  • Web
Suiii
8 Nov, 2023, 08:05

it was the credential I was testing before

TL;DR
The user is asking for help adding Microsoft 365 as an SMTP server, but is experiencing authentication fail. They mention changing the port and it starts working. They also suggest that their network may be blocking port 587. Other users suggest trying a different provider like SendGrid and generating an invite code to send to users. There is no clear solution mentioned in the thread.
D5
8 Nov, 2023, 08:10

No idea. But seems the connection is being refused for some reason

Suiii
8 Nov, 2023, 08:12

any other alterantive solution

D5
8 Nov, 2023, 08:17

I think it's a provider issue. However it could be some firewall blocking the connection too

Suiii
8 Nov, 2023, 08:19

maybe

Suiii
8 Nov, 2023, 08:19

what to enable?

Suiii
8 Nov, 2023, 08:19

this is new server, might be blocked

Suiii
8 Nov, 2023, 08:20

I only want to invite new user to organiation, actually, i dont need smtp

D5
8 Nov, 2023, 08:21

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

D5
8 Nov, 2023, 08:21

But I think team invites is the best solution

D5
8 Nov, 2023, 08:22

Forgot to mention, did you have set all SMTP fields including email name?

Suiii
8 Nov, 2023, 08:22

generating invite code sound good to me.

Suiii
8 Nov, 2023, 08:23

yes i did

Suiii
8 Nov, 2023, 08:30

I test with local machine, it works

Suiii
8 Nov, 2023, 08:30

but in server not work sendgrid

D5
8 Nov, 2023, 08:38

Weird. I think it's because a firewall or the provider is blocking it

Suiii
8 Nov, 2023, 08:47

how can I check my network server is allowed port ?

Suiii
8 Nov, 2023, 08:47

587 this port righh?

Suiii
8 Nov, 2023, 08:58

strange. I even use the working mailgun , but no luck

Drake
8 Nov, 2023, 09:08

Usually, if the vps provider is blocking smtp, you'll get a connection timeout error

Suiii
8 Nov, 2023, 09:15

I found, the network blocks port 587

Suiii
8 Nov, 2023, 09:15

now it is working.

D5
8 Nov, 2023, 09:15

So after changing port it works?

Suiii
8 Nov, 2023, 12:47

yes right!

Suiii
8 Nov, 2023, 12:48

[Closed] how to add microsfot 365 as smtp smtp ? authentication fail

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more