WordPress at a glance
function is not described

PHPMailer\PHPMailer

PHPMailer::DKIM_BodyC() public WP 1.0

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.

{} It's a method of the class: PHPMailer{}

No Hooks.

Return

String.

Usage

$PHPMailer = new PHPMailer();
$PHPMailer->DKIM_BodyC( $body );
$body(string) (required)
Message Body

Notes

Code of PHPMailer::DKIM_BodyC() WP 5.7.2

<?php
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::stripTrailingWSP($body) . self::CRLF;
}