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

Send emails to subscribers in batches of 50 to avoid SMTP limit #9570

Merged
merged 1 commit into from
Apr 27, 2021

Conversation

jywarren
Copy link
Member

@gitpod-io
Copy link

gitpod-io bot commented Apr 27, 2021

bcc: recipients,
subject: subject
)
while recipients.length > 0
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use recipients.length.positive? instead of recipients.length > 0.

bcc: recipients,
subject: subject
)
while recipients.length > 0
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use recipients.length.positive? instead of recipients.length > 0.

bcc: recipients,
subject: subject
)
while recipients.length > 0
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use !empty? instead of length > 0.

bcc: recipients,
subject: subject
)
while recipients.length > 0
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use !empty? instead of length > 0.

@codeclimate
Copy link

codeclimate bot commented Apr 27, 2021

Code Climate has analyzed commit 7443d47 and detected 4 issues on this pull request.

Here's the issue category breakdown:

Category Count
Style 4

View more on Code Climate.

@codecov
Copy link

codecov bot commented Apr 27, 2021

Codecov Report

❗ No coverage uploaded for pull request base (main@fb890a7). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #9570   +/-   ##
=======================================
  Coverage        ?   81.38%           
=======================================
  Files           ?       98           
  Lines           ?     5926           
  Branches        ?        0           
=======================================
  Hits            ?     4823           
  Misses          ?     1103           
  Partials        ?        0           

@jywarren jywarren merged commit 2f1c1e9 into main Apr 27, 2021
reginaalyssa pushed a commit to reginaalyssa/plots2 that referenced this pull request Oct 16, 2021
billymoroney1 pushed a commit to billymoroney1/plots2 that referenced this pull request Dec 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant