src/MimeMailer/Helper.php
public static function headerTagger($name = '', $value = '', $adds = array())
    {
        $str = $name.': '.$value;
        if (count($adds)) {
            foreach ($adds as $n=>$v) {
                $str .= Mailer::$HEADERS_SEPARATOR.($n=='boundary' ? "\n\t" : '').$n."=\"".$v."\"";
            }
        }
        return(trim($str, Mailer::$HEADERS_SEPARATOR));
    }
public static function headerTagger($name = '', $value = '', $adds = array())
    {
        $str = $name.': '.$value;
        if (count($adds)) {
            foreach ($adds as $n=>$v) {
                $str .= Mailer::$HEADERS_SEPARATOR.($n=='boundary' ? "\n\t" : '').$n."=\"".$v."\"";
            }
        }
        return(trim($str, Mailer::$HEADERS_SEPARATOR));
    }
Build a mail header tag compliant to RFC2822

@param string $name The name of the tag
@param string $value The value of the tag
@param array $adds A variable=>value pairs to add to the tag string
@return string The generated header tag string