PHPMailer\PHPMailer
PHPMailer::DKIM_BodyC()
Generate a DKIM canonicalization body. Uses the 'simple' algorithm from RFC6376 section 3.4.3. Canonicalized bodies should always use CRLF, regardless of mailer setting.
Метод класса: PHPMailer{}
Хуков нет.
Возвращает
Строку
.
Использование
$PHPMailer = new PHPMailer(); $PHPMailer->DKIM_BodyC( $body );
- $body(строка) (обязательный)
- Message Body
Заметки
Код PHPMailer::DKIM_BodyC() PHPMailer::DKIM BodyC WP 6.8
public function DKIM_BodyC($body) { if (empty($body)) { return self::CRLF; } //Normalize line endings to CRLF $body = static::normalizeBreaks($body, self::CRLF); //Reduce multiple trailing line breaks to a single one return static::stripTrailingBreaks($body) . self::CRLF; }