generate valid message id

This commit is contained in:
Ulf Gebhardt 2019-12-17 20:19:08 +01:00
parent 73447af16f
commit e536c7823a
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

View File

@ -35,7 +35,7 @@ class mailcannon {
'Subject' => $subject,
// 'Reply-to' => $replyto, // this should reference a message id
'Return-Path' => $from,
'Message-ID' => self::generateMessageID(),
'Message-ID' => self::generateMessageID().'_'.$from,
'Date' => date('r', time())));
$recipients = array( 'To' => $to);