6 calls to PHPMailer::encodeHeader()

PHPMailer::addrFormat in inc/PHPMailer/src/PHPMailer.php
Format an address for use in a message header.
PHPMailer::attachAll in inc/PHPMailer/src/PHPMailer.php
Attach all file, string, and binary attachments to the message. Returns an empty string on failure.
PHPMailer::createHeader in inc/PHPMailer/src/PHPMailer.php
Assemble message headers.
PHPMailer::DKIM_Add in inc/PHPMailer/src/PHPMailer.php
Create the DKIM header and body in a new message header.
PHPMailer::mailPassthru in inc/PHPMailer/src/PHPMailer.php
Call mail() in a safe_mode-aware fashion. Also, unless sendmail_path points to sendmail (or something that claims to be sendmail), don't pass params (not a perfect fix, but it will do).
PHPMailer::preSend in inc/PHPMailer/src/PHPMailer.php
Prepare a message for sending.