Example usage for Java org.apache.commons.net.smtp SimpleSMTPHeader fields, constructors, methods, implement or subclass
The text is from its open source code.
SimpleSMTPHeader(String from, String to, String subject) Creates a new SimpleSMTPHeader instance initialized with the given from, to, and subject header field values. |
void | addCC(String address) Add an email address to the CC (carbon copy or courtesy copy) list. |
void | addHeaderField(String headerField, String value) Adds an arbitrary header field with the given value to the article header. |
String | toString() Converts the SimpleSMTPHeader to a properly formatted header in the form of a String, including the blank line used to separate the header from the article body. |