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

Hannes Laimer h.laimer at proxmox.com
Wed Aug 26 08:54:38 CEST 2020


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

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 | 143 +++++++++++++++++++++++++++++++++++++
 proxmox/src/tools/mod.rs   |   1 +
 2 files changed, 144 insertions(+)
 create mode 100644 proxmox/src/tools/email.rs

-- 
2.20.1






More information about the pbs-devel mailing list