• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/mail/part.php
  • Класс: BitrixMainMailPart
  • Вызов: Part::toStringHeaders
public function toStringHeaders()
{
	$result = '';
	foreach ($this->headers as $name => $value)
	{
		$result .= $name . ': '. $value . $this->eol;
	}

	return $result ? $result  : '';
}