protected function PHPMailer::endBoundary

5.x PHPMailer.php protected PHPMailer::endBoundary($boundary)

Return the end of a message boundary.

Parameters

string $boundary:

Return value

string

1 call to PHPMailer::endBoundary()
PHPMailer::createBody in inc/PHPMailer/src/PHPMailer.php
Assemble the message body. Returns an empty string on failure.

File

inc/PHPMailer/src/PHPMailer.php, line 2763

Class

PHPMailer
PHPMailer - PHP email creation and transport class.

Namespace

PHPMailer\PHPMailer

Code

protected function endBoundary($boundary) 
 {
  return static::$LE . '--' . $boundary . '--' . static::$LE;
}