public static class MailService.Header
extends java.lang.Object
| Constructor and Description |
|---|
MailService.Header(java.lang.String name,
java.lang.String value)
Headers are an optional part of messages, but if present, all
information about them must be provided.
|
public MailService.Header(java.lang.String name,
java.lang.String value)
name - The name of the header. It must be present and white-listed.value - The value of the header. It must be present, and it's
content cannot be of zero length.java.lang.IllegalArgumentException - if either name or data are missing.