Number of invitation emails exceeded

Hi there,

When I try to send invitation email by Mattermost 10.3 Teams edition, I was able to send it to 15 recipents. When I try another 15 emailadresses I get the above mentioned error.

Any suggestions?

Hi tierdoc! Thank you for reaching out, and I’m sorry to hear about the issues here. As a test, can you try sending the email invites again in smaller batches of maybe 10 or so? Are the errors still hitting?

You might also find our docs on Inviting people to your workspace helpful.

Thank you for your reply,John.

It was possible to send 10 invitations successfully.
But the next 10 exceeded the above mentioned undocumented limit.

Email were sent successfully to the recipients and they were also able to log in.

Mattermost 10.3
Nginx
Container

Hi tierdoc, thanks for the follow-up and I’m sorry to hear about the continued issues!

  1. Does the rate limit reset for you after some time has passed?
  2. As a temporary workaround: Try using invitation links as an alternative to emails. This avoids the rate limit entirely and should let users join directly.

Let me know if you encounter further issues!

Dear John,
thank you for keeping in touch.
Ad 1: I didn’t test this. But I can give it a try next time.
Is there any reason for this assumption?
Ad 2: that’s how i did it. I copied the invitation link and sent it by thunderbird.

When I am right, an invitation, sent by mattermost server itself, should have an expiry time, which an email doesn’t, right?
I’ve read about this issue and tried to figure it out.
But I didn’t solve it yet.

All the best!
Klaus

@john.combs Sorry for the long delay on this topic. I digged a bit deeper and found in the logs of Mattermost the issue for this problem:

Mattermost seems to send all emails in parallel connections to the smtp server. it does not group and there seems to be no cue for sending emails either one by one or in configurable number groups.

My Server is allowing only 3 parallel connections and there it gives the bottleneck and the issue.

Unfortunately Mattermost doesnt retry after unsuccessful sending of Invitations or notifications @all/@channel etc.

Any hints?

Mattermost 10.5.1 in Containerstation

All the best and Thank You

Klaus

Hi @tierdoc, great job identifying the issue with SMTP server connection limits! You can check out the notification troubleshooting guide: Notifications and updates - Mattermost documentation for additional steps to address email delivery challenges or try adjusting your SMTP server settings to better accommodate parallel connections. Let us know if you have further questions!

Found a Solution. Thank You.
Hope it works.

Yay! Thanks for following up to let us know, tierdoc. Keep us posted on how things go!