Mercurial > libervia-backend
diff libervia/backend/tools/common/email.py @ 4238:b0c36f3d3e04
core: update `pygobject` version and replace deprecated `configparser.SafeConfigParser`
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 11 May 2024 13:16:13 +0200 |
parents | 4b842c1fb686 |
children | 0d7bb4df2343 |
line wrap: on
line diff
--- a/libervia/backend/tools/common/email.py Mon Apr 08 12:29:40 2024 +0200 +++ b/libervia/backend/tools/common/email.py Sat May 11 13:16:13 2024 +0200 @@ -32,7 +32,7 @@ def send_email(config, to_emails, subject="", body="", from_email=None): """Send an email using SàT configuration - @param config (SafeConfigParser): the configuration instance + @param config (ConfigParser): the configuration instance @param to_emails(list[unicode], unicode): list of recipients if unicode, it will be split to get emails @param subject(unicode): subject of the message