fix(EmailAccount): Fix always_bcc condition
This commit is contained in:
parent
c600314b4c
commit
07b080abcb
1 changed files with 2 additions and 2 deletions
|
|
@ -691,8 +691,8 @@ class QueueBuilder:
|
|||
|
||||
def prepare_email_content(self):
|
||||
email_account = self.get_outgoing_email_account()
|
||||
if isinstance(self._bcc, list) and email_account.always_bcc is not None:
|
||||
self._bcc.append(str(email_account.always_bcc))
|
||||
if isinstance(self._bcc, list) and email_account.always_bcc:
|
||||
self._bcc.append(email_account.always_bcc)
|
||||
mail = get_email(
|
||||
recipients=self.final_recipients(),
|
||||
sender=self.sender,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue