Merge remote-tracking branch 'calcms/master'

* notify-events.cgi: write result to response
* mail.pm: encode body by quoted printable
This commit is contained in:
www-data
2024-02-15 21:11:43 +01:00
2 changed files with 6 additions and 5 deletions

View File

@@ -164,7 +164,8 @@ sub sendMail {
$mail->{Cc} = $params->{cc} if defined $params->{cc};
$mail->{Subject} = $params->{subject} if defined $params->{subject};
$mail->{Data} = $params->{content} if defined $params->{content};
mail::send($mail);
my $result = mail::send($mail);
print "Content-type:text/plain\n\nresult:".Dumper($result);
}
sub getMail {