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

ENH: option that receivers do not see each other (but not BCC) #87

Open
peircej opened this issue Oct 12, 2023 · 0 comments
Open

ENH: option that receivers do not see each other (but not BCC) #87

peircej opened this issue Oct 12, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@peircej
Copy link

peircej commented Oct 12, 2023

Is your feature request related to a problem? Please describe.

To use redmail for sending out a newsletter to all my users, I need them each to be the To: field but not to see each other's email addresses.

When using smtplib the recipients are not all added to a single email - they cannot see each others' names - whereas in redmail they are. That means I can't send an email to 1000 recipients without sharing all their emails (GDPR breach)

Describe the solution you'd like

I would like the option (and preferably the default) to be that recipients don't see each others emails

Describe alternatives you've considered

I could use BCC but that looks bad.

I could loop over them

for recip in recipients:
        email_sender.send(
            subject=subject,
            sender=sender,
            receivers=[recip],
            text=msg_text,
            html=msg_html
        )

but that seems like a lot of compiling the email for each of my recipients

I haven't looked to see how smtplib achieves this preferred outcome (maybe it does run a loop under the hood) but, for now I'll have to stick with that.

@peircej peircej added the enhancement New feature or request label Oct 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant