Skip to content
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

Mass emails not sending correctly #4377

Closed
kris6673 opened this issue Nov 1, 2021 · 3 comments
Closed

Mass emails not sending correctly #4377

kris6673 opened this issue Nov 1, 2021 · 3 comments

Comments

@kris6673
Copy link

kris6673 commented Nov 1, 2021

Describe the bug
I am trying to send mass emails via Ombi, with a @hotmail.com account. I'm trying to send to around 10 people. However it only sends some of them, around 5 at a time. I can then check in my sent emails, that it has not sent to all users. If i send a mass email again, it goes through with 5 more people again.
I think this is a rate limiting/throttling thing from MS. I have not tested other providers like gmail.
Adding a customizable wait time before sending each email would solve this i think, instead of trying to send all the emails at the same time.

To Reproduce
Steps to reproduce the behavior:
1: Use Microsoft account for sending email.
2: Select more than 10 users/recipients.
3: Send mass email and check the sender acccounts "Sent" mail.
4: Deselect the users that you can see in the "Sent" mail.
5: Send mass mail. Repeat until no more users are left.

Expected behavior
The mass email to be sent to everyone selected.

Screenshots
None

Logs (Logs directory where Ombi is located)
From Logs dir:
log-20211101.txt

Desktop (please complete the following information):

Ombi docker: Linux 5.10.28-Unraid SMP Wed Apr 7 08:23:18 PDT 2021
Ombi Version (please complete the following information):

Version: 4.0.1468
Media Server: Plex
Database Type: SQLite
Please feel free to ask me for additional information if required :)

@github-actions
Copy link

github-actions bot commented Nov 1, 2021

Hi!

Thanks for the issue report. Before a real human comes by, please make sure you used our bug report format.

Have you looked at the wiki yet? https://docs.ombi.app/

Before posting make sure you also read our FAQ.

Make the title describe your issue. Having 'not working' or 'I get this bug' for 100 issues, isn't really helpful.

If we need more information or there is some progress we tag the issue or update the tag and keep you updated.

Thanks!

Ombi Bot.

@tidusjar
Copy link
Member

tidusjar commented Nov 1, 2021

Yeah looks like we opened too many connections. How many emails was it being sent to?

Concurrent connections limit exceeded. Visit https://aka.ms/concurrent_sending for more information.

I think I’ll add some concurrency protection and also an option to send 1 email but all BCC’d too. What do you think?

@kris6673
Copy link
Author

kris6673 commented Nov 1, 2021

Thanks for the quick response!
12 emails were being sent. The article says 30 emails per minute is the limit for MS, so max 1 mail per 2 sec i guess :D

Sounds good to me, IMO having more options is (almost) always better! 👍

tidusjar added a commit that referenced this issue Nov 6, 2021
… can now send BCC and we are less likely to be rate limited when not using bcc #4377
@tidusjar tidusjar closed this as completed Nov 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants