# File lib/mailfactory.rb, line 149
  def get_header(header)
    headers = Array.new()
    headerregex = /^#{Regexp.escape(header)}:/i
    @headers.each() { |h|
      if(headerregex.match(h))
        headers << h[/^[^:]+:(.*)/i, 1].strip()
      end
    }
    
    return(headers)
  end