code: public void removeHeader(String name) {
          for(int i = 0; i < headers.size(); i++) {
              MimeHeader hdr = (MimeHeader) headers.elementAt(i);
              if (hdr.getName().equalsIgnoreCase(name))
                  headers.removeElementAt(i--);
          }
      }
docs: Remove all <code>MimeHeader</code> objects whose name matches the
  given name.
  
  @param   name a <code>String</code> with the name of the header for
  which to search