Signed-off-by: Alexander Kanavin <[email protected]>
---
modules/utils/emailhandler.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/modules/utils/emailhandler.py b/modules/utils/emailhandler.py
index 066f013..8c8b85b 100644
--- a/modules/utils/emailhandler.py
+++ b/modules/utils/emailhandler.py
@@ -103,6 +103,8 @@ class Email(object):
try:
smtp = SMTP(self.smtp_host, self.smtp_port)
smtp.sendmail(self.from_addr, to_addr, msg_text)
+ if cc_addr is not None:
+ smtp.sendmail(self.from_addr, cc_addr, msg_text)
smtp.close()
except Exception as e:
E("Could not send email: %s" % str(e))
--
2.27.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#49775): https://lists.yoctoproject.org/g/yocto/message/49775
Mute This Topic: https://lists.yoctoproject.org/mt/75210261/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-