PHPMailer\PHPMailer

PHPMailer::setBoundaries()publicWP 1.0

Set the boundaries to use for delimiting MIME parts. If you override this, ensure you set all 3 boundaries to unique values. The default boundaries include a "=_" sequence which cannot occur in quoted-printable bodies, as suggested by https://www.rfc-editor.org/rfc/rfc2045#section-6.7

Метод класса: PHPMailer{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$PHPMailer = new PHPMailer();
$PHPMailer->setBoundaries();

Код PHPMailer::setBoundaries() WP 6.5.3

public function setBoundaries()
{
    $this->uniqueid = $this->generateId();
    $this->boundary[1] = 'b1=_' . $this->uniqueid;
    $this->boundary[2] = 'b2=_' . $this->uniqueid;
    $this->boundary[3] = 'b3=_' . $this->uniqueid;
}