Closed DartVerder closed 3 years ago
There are two ways of sending emails, depending on the EmailInfo#sendInOneMessage
flag value. If it is set to false
(which is a default value), multiple messages are sent to addresses listed in EmailInfo#addresses
field and EmailInfo#cc
, EmailInfo#bcc
fields are ignored. If it is set to true
, only one email is sent to all the recipients; that means the use of CC/BCC fields is reasonable in this case.
To solve the problem, one should either call EmailInfoBuilder#setSendInOneMessage(true) in the builder chain, or just add CC/BCC addresses to EmailInfo#addresses
list (by an appropriate setter).
More info on this topic is presented in a Javadoc comment. Nevertheless, to clarify this in more detail, additional Javadoc comments on EmailInfo#cc
and EmailInfo#bcc
are required.
Won't fix. Javadoc comments were added.
https://www.cuba-platform.ru/discuss/t/emailinfo-setcc-setbcc-parametr-ustanavlivaetsya-no-soobshheniya-ne-otpravlyayutsya/5674
Environment
Description of the bug or enhancement
ER: email was sent to the all addresses, include cc, bcc AR: email was sent only to the addresses, that were in
setAddresses("mail@maii.ru")