$mail = clone $this;
if ($recipient['mailbox'] instanceof UserMailbox) {
- $mail->addHeader('X-Community-Framework-Recipient', $recipient['mailbox']->getUser()->username);
+ $mail->addHeader('X-WoltLab-Suite-Recipient', $recipient['mailbox']->getUser()->username);
}
if ($this->body instanceof IRecipientAwareMimePart) $this->body->setRecipient($recipient['mailbox']);
* Sets the multipart boundary.
*/
public function __construct() {
- $this->boundary = "WoltLab_Community_Framework=_".StringUtil::getRandomID();
+ $this->boundary = "WoltLab_Suite=_".StringUtil::getRandomID();
$this->parts = new \SplObjectStorage();
}
* @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package WoltLabSuite\Core\Data\Mail
- * @deprecated The Community Framework < 2.2 mail API is deprecated in favor of \wcf\system\email\*.
+ * @deprecated The Community Framework 2.x mail API is deprecated in favor of \wcf\system\email\*.
*/
class DebugMailSender extends MailSender {
/**
* @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package WoltLabSuite\Core\Data\Mail
- * @deprecated The Community Framework < 2.2 mail API is deprecated in favor of \wcf\system\email\*.
+ * @deprecated The Community Framework 2.x mail API is deprecated in favor of \wcf\system\email\*.
*/
class Mail {
/**
* @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package WoltLabSuite\Core\Data\Mail
- * @deprecated The Community Framework < 2.2 mail API is deprecated in favor of \wcf\system\email\*.
+ * @deprecated The Community Framework 2.x mail API is deprecated in favor of \wcf\system\email\*.
*/
abstract class MailSender {
/**
* @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package WoltLabSuite\Core\Data\Mail
- * @deprecated The Community Framework < 2.2 mail API is deprecated in favor of \wcf\system\email\*.
+ * @deprecated The Community Framework 2.x mail API is deprecated in favor of \wcf\system\email\*.
*/
class PHPMailSender extends MailSender {
/**
* @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package WoltLabSuite\Core\Data\Mail
- * @deprecated The Community Framework < 2.2 mail API is deprecated in favor of \wcf\system\email\*.
+ * @deprecated The Community Framework 2.x mail API is deprecated in favor of \wcf\system\email\*.
*/
class SMTPMailSender extends MailSender {
/**