Dont show a MSGID kludge in test messages if there isnt one
This commit is contained in:
parent
391e9e1e39
commit
9f3b9f692a
@ -20,7 +20,10 @@ trait MessagePath
|
|||||||
|
|
||||||
$reply .= "+--[ CONTROL LINES ]----------------------------------+\r";
|
$reply .= "+--[ CONTROL LINES ]----------------------------------+\r";
|
||||||
$reply .= sprintf("DATE: %s\r",$mo->date->format('Y-m-d H:i:s'));
|
$reply .= sprintf("DATE: %s\r",$mo->date->format('Y-m-d H:i:s'));
|
||||||
|
if ($mo->msgid)
|
||||||
$reply .= sprintf("MSGID: %s\r",$mo->msgid);
|
$reply .= sprintf("MSGID: %s\r",$mo->msgid);
|
||||||
|
if ($mo->replyid)
|
||||||
|
$reply .= sprintf("REPLY: %s\r",$mo->replyid);
|
||||||
|
|
||||||
foreach ($mo->kludges as $k=>$v)
|
foreach ($mo->kludges as $k=>$v)
|
||||||
$reply .= sprintf("%s %s\r",$k,$v);
|
$reply .= sprintf("%s %s\r",$k,$v);
|
||||||
|
Loading…
Reference in New Issue
Block a user