set_header() public method

Add a Header Item
public set_header ( $header, $value ) : CI_Email
return CI_Email
 public function set_header($header, $value)
 {
     $header = (string) $header;
     $value = (string) $value;
     if ($this->mailer_engine == 'phpmailer') {
         $this->phpmailer->addCustomHeader($header, str_replace(array("\n", "\r"), '', $value));
     }
     parent::set_header($header, $value);
     return $this;
 }