daklib.mail

Mail handling

@copyright: 2022 Ansgar <ansgar@debian.org> @license: GNU General Public License version 2 or later

Functions

parse_mail(msg)

sign_mail(msg, *[, digest_algorithm])

sign an email message using GnuPG.

daklib.mail.parse_mail(msg) EmailMessage[source]
daklib.mail.sign_mail(msg: EmailMessage, *, digest_algorithm: str = 'SHA256', **kwargs) EmailMessage[source]

sign an email message using GnuPG.

This only handles non-multipart messages.