[pbs-devel] [PATCH proxmox v5 0/1] sendmail function
Hannes Laimer
h.laimer at proxmox.com
Thu Aug 27 12:00:35 CEST 2020
v5:
- add trailing -- to last boundary [Stoiko Ivanov<s.ivanov at proxmox.com>]
v4:
- fixed issues with header and boundary
v3:
- adjusted mail regex to allow '-'
- localtime instead of utc
- only add boundary and MIME-Version if needed
v2:
- encoded subject
- added date to header
- content-type: multipart only if html and text is specified
- 'UTF8' -> 'UTF-8'
Hannes Laimer (1):
email: add small function to send multi-part emails using sendmail
proxmox/src/tools/email.rs | 152 +++++++++++++++++++++++++++++++++++++
proxmox/src/tools/mod.rs | 1 +
2 files changed, 153 insertions(+)
create mode 100644 proxmox/src/tools/email.rs
--
2.20.1
More information about the pbs-devel
mailing list