google.appengine.api.mail.invalid_headers_reason

Determines the reason why a header is invalid.

headers Header value to check.

A string that indicates the reason that the headers are invalid if the reason can be determined; otherwise returns None.