PHPMailer\PHPMailer
PHPMailer::setBoundaries()
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
. Ничего.
Использование
$PHPMailer = new PHPMailer(); $PHPMailer->setBoundaries();
Код PHPMailer::setBoundaries() PHPMailer::setBoundaries WP 6.2.2
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; }