[pbs-devel] [PATCH proxmox v4 0/1] sendmail function

Hannes Laimer h.laimer at proxmox.com
Thu Aug 27 11:04:21 CEST 2020


Small function to send a multi-part mail to a list of recipients.

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