Hi ,
After that change I do manage to see the mail subject on the log ,
But it does not shown in the tracking center too
Any help please.
here is my change :
Any help please.
After that change I do manage to see the mail subject on the log ,
But it does not shown in the tracking center too
Any help please.
here is my change :
Code:
# PHASE 2 - parse mail
# on error: exit
my $maxfiles = $pmg_cfg->get('clamav', 'archivemaxfiles')o;
my $entity = $queue->parse_mail($maxfiles);
$self->log (3, "$queue->{logid}: new mail message-id=%s", $queue->{msgid});
# Add by koby at 16/09/2020
$self->log (3, "$queue->{logid}: Subject: %s", PMG::Utils::decode_rfc1522(PVE::Tools::trim($entity->head->get('subject'))) || 'No Subject');
my @fromarray = split('\s*,\s*', $entity->head->get('from') || $msginfo->{sender});
$self->log (3, "$queue->{logid}: From: %s", PMG::Utils::decode_rfc1522(PVE::Tools::trim($fromarray[0])) );
# End
Any help please.
Last edited: