sendmail helper: allow empty display name in from
authorStoiko Ivanov <s.ivanov@proxmox.com>
Thu, 3 Sep 2020 12:09:45 +0000 (14:09 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 7 Sep 2020 07:40:25 +0000 (09:40 +0200)
commita24d91ea089a71eb07ece8ab2d7d286fa833393a
treead92d6f36dfa965b5b5c2528b3a67923fecae91f
parentb18826ce61e6e2438acc08f05aaa5395bdcd4974
sendmail helper: allow empty display name in from

This patch enables the sendmail helper sub to send emails with a non-existant
display name in the from address. This is used to replace the direct call to
the sendmail binary in pve-manager/PVE/API2/APT.pm.

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
src/PVE/Tools.pm