removeHeader method
Removes the header with the specified name
.
Compare MailConventions for common header names.
Set encoding
to any of the HeaderEncoding formats to encode the header.
Implementation
void removeHeader(String name) {
_part.removeHeader(name);
}