Java org.apache.commons.net.smtp SimpleSMTPHeader fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.net.smtp SimpleSMTPHeader fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.net.smtp SimpleSMTPHeader.

The text is from its open source code.

Constructor

SimpleSMTPHeader(String from, String to, String subject)
Creates a new SimpleSMTPHeader instance initialized with the given from, to, and subject header field values.

Method

voidaddCC(String address)
Add an email address to the CC (carbon copy or courtesy copy) list.
voidaddHeaderField(String headerField, String value)
Adds an arbitrary header field with the given value to the article header.
StringtoString()
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.