Fix for EMSI timezone and add MOH#
This commit is contained in:
parent
d949737608
commit
51e915b73d
@ -211,14 +211,18 @@ final class EMSI extends BaseProtocol implements CRCInterface,ZmodemInterface
|
||||
'XA' // Nodelist Flags
|
||||
);
|
||||
|
||||
// TRAF - netmail/echomail traffic size (bytes)
|
||||
$makedata .= sprintf('{TRAF}{%lX %lX}',$this->send->mail_size,$this->send->file_size);
|
||||
|
||||
// @todo Not sure what MOH is for
|
||||
//$makedata .= sprintf('{MOH#}{[%lX]}',0);
|
||||
// MOH# - Mail On Hold - bytes waiting
|
||||
$makedata .= sprintf('{MOH#}{[%lX]}',$this->send->mail_size);
|
||||
|
||||
// EMD5 - MD5 unique string
|
||||
|
||||
// Transaction Number
|
||||
$makedata .= sprintf('{TRX#}{[%lX]}',Carbon::now()->timestamp);
|
||||
|
||||
$makedata .= sprintf('{TZUTC}{[%+03d%02d]}',10,0);
|
||||
$makedata .= sprintf('{TZUTC}{[%+05d]}',-10*60);
|
||||
|
||||
// @todo Not sure what OHFR is for
|
||||
//$makedata .= sprintf('{OHFR}{%s}','Never Never');
|
||||
|
Loading…
Reference in New Issue
Block a user