Skip to content

Commit

Permalink
Update src/dragonfly_reporter/mailer.py
Browse files Browse the repository at this point in the history
Co-authored-by: Robin <[email protected]>
Signed-off-by: Bradley Reynolds <[email protected]>
  • Loading branch information
shenanigansd and Robin5605 authored Mar 2, 2024
1 parent 4550558 commit 4821bbb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/dragonfly_reporter/mailer.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ async def send_mail(

bcc_recipients = []
for bcc_address in bcc_addresses:
recipient_email = EmailAddress()
recipient_email.address = bcc_address
recipient_email = EmailAddress(address=bcc_address)

to_recipient = Recipient(email_address=recipient_email)
bcc_recipients.append(to_recipient) # pyright: ignore [reportUnknownMemberType]
Expand Down

0 comments on commit 4821bbb

Please sign in to comment.