From: Tim Düsterhus Date: Wed, 5 May 2021 12:58:19 +0000 (+0200) Subject: Add SimpleEmail::setMessageID() X-Git-Tag: 5.4.0_Alpha_2~51^2~3 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=896fe68b18f73db0d79df743f0ce379f1d756cec;p=GitHub%2FWoltLab%2FWCF.git Add SimpleEmail::setMessageID() --- diff --git a/wcfsetup/install/files/lib/system/email/SimpleEmail.class.php b/wcfsetup/install/files/lib/system/email/SimpleEmail.class.php index fea961a683..d07aa565c9 100644 --- a/wcfsetup/install/files/lib/system/email/SimpleEmail.class.php +++ b/wcfsetup/install/files/lib/system/email/SimpleEmail.class.php @@ -120,6 +120,16 @@ class SimpleEmail $this->email->setBody(new MimePartFacade($parts)); } + /** + * Sets the part left of the at sign (@) in the email's 'Message-Id'. + * + * @see Email::setMessageID() + */ + public function setMessageID(?string $messageId): void + { + $this->email->setMessageID($messageId); + } + /** * Queues this email for delivery. *