mirror of
git://git.proxmox.com/git/pve-common.git
synced 2025-01-22 06:04:10 +03:00
sendmail: separate 'mailto' list from the rest of the parameters
Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
This commit is contained in:
parent
d500c0381e
commit
216a3f4f13
@ -1454,7 +1454,7 @@ sub sendmail {
|
||||
|
||||
$author = $author || 'Proxmox VE';
|
||||
|
||||
open (MAIL, "|-", "sendmail", "-B", "8BITMIME", "-f", $mailfrom, @$mailto) ||
|
||||
open (MAIL, "|-", "sendmail", "-B", "8BITMIME", "-f", $mailfrom, "--", @$mailto) ||
|
||||
die "unable to open 'sendmail' - $!";
|
||||
|
||||
# multipart spec see https://www.ietf.org/rfc/rfc1521.txt
|
||||
|
Loading…
x
Reference in New Issue
Block a user