Skip to content

Commit 9a674de

Browse files
committed
php8 fix
1 parent 42c35b6 commit 9a674de

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ImapAbuseCheck.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ public function getmsg($mid)
423423
$this->htmlmsg = $this->plainmsg = $this->charset = '';
424424
$this->attachments = [];
425425
// HEADER
426-
$h = imap_header($this->mbox, $mid);
426+
$h = imap_headerinfo($this->mbox, $mid);
427427
// add code here to get date, from, to, cc, subject...
428428
// BODY
429429
$s = imap_fetchstructure($this->mbox, $mid);

0 commit comments

Comments
 (0)