for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace XoopsModules\Xnewsletter;
require_once dirname(__DIR__) . '/include/phpmailer/PHPMailerAutoload.php';
/**
* Class XnewsletterMailer
*/
class XnewsletterMailer extends \PHPMailer
{
* @return string
* @throws \phpmailerException
public function getMIMEHeader()
$this->preSend();
return $this->MIMEHeader;
}
public function getMIMEBody()
return $this->MIMEBody;
* @return int
public function getSize()
return mb_strlen($this->MIMEHeader . $this->MIMEBody);