lib/classes/Swift/Mime/SimpleHeaderFactory.php
public function createIdHeader($name, $ids = null)
    {
        $header = new Swift_Mime_Headers_IdentificationHeader($name, $this->emailValidator);
        if (isset($ids)) {
            $header->setFieldBodyModel($ids);
        }
        $this->setHeaderCharset($header);

        return $header;
    }
public function createIdHeader($name, $ids = null)
    {
        $header = new Swift_Mime_Headers_IdentificationHeader($name, $this->emailValidator);
        if (isset($ids)) {
            $header->setFieldBodyModel($ids);
        }
        $this->setHeaderCharset($header);

        return $header;
    }
public function createIdHeader ( $ name , $ ids = null ) { $ header = new Swift_Mime_Headers_IdentificationHeader ( $ name , $ this -> emailValidator ) ; if ( isset ( $ ids ) ) { $ header -> setFieldBodyModel ( $ ids ) ; } $ this -> setHeaderCharset ( $ header ) ; return $ header ; }
Create a new ID header for Message-ID or Content-ID.

@param string       $name
@param string|array $ids

@return Swift_Mime_Header
Create a new ID header for Message - ID or Content - ID .