function to allow to access/read the boundarys used by CreateHeader

This commit is contained in:
Klaus Leithoff 2010-10-19 14:36:08 +00:00
parent 01350cee0b
commit 9dae1bdbe0

View File

@ -1279,6 +1279,17 @@ class PHPMailer {
return $body;
}
/**
* Returns the specified message boundary.
* boundary is set only after CreateHeader was called
* @params integer the boundary to fetch
* @returns string/boolean - the boundary or false if not set (yet)
*/
public function FetchBoundary($num)
{
return isset($this->boundary[$num])? $this->boundary[$num]: false;
}
/**
* Returns the start of a message boundary.
* @access private