fix(dolist): don't delivery by API emails having bcc
This commit is contained in:
parent
b1440ac5ee
commit
6fa692d22e
1 changed files with 3 additions and 0 deletions
|
@ -32,6 +32,9 @@ class Dolist::API
|
|||
end
|
||||
|
||||
def sendable?(mail)
|
||||
return false if mail.to.blank? # recipient are mandatory
|
||||
return false if mail.bcc.present? # no bcc support
|
||||
|
||||
# Mail having attachments are not yet supported in our account
|
||||
mail.attachments.none? { !_1.inline? }
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue