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

CC email address not removed #1086

Open
dkatsios opened this issue Jun 11, 2024 · 1 comment
Open

CC email address not removed #1086

dkatsios opened this issue Jun 11, 2024 · 1 comment

Comments

@dkatsios
Copy link

when an email reply is created using message.reply() if there is a CC recipient in the initial message, then even if reply.cc.clear() is called (or reply.cc.remove(the-email-address) when reply.send() is executed it will send the email also to the initial CC address.

@alejcas
Copy link
Member

alejcas commented Jun 14, 2024

try this:

# ...
reply = message.reply(to_all=True)
reply.cc.clear()
reply.save()
reply.send()

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

No branches or pull requests

2 participants