|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.mail.Message javax.mail.internet.MimeMessage org.apache.geronimo.javamail.transport.smtp.SMTPMessage
public class SMTPMessage
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.mail.internet.MimeMessage |
---|
MimeMessage.RecipientType |
Field Summary | |
---|---|
protected boolean |
allow8bitMIME
|
protected String |
envelopeFrom
|
protected String |
mailExtension
|
static int |
NOTIFY_DELAY
|
static int |
NOTIFY_FAILURE
|
static int |
NOTIFY_NEVER
|
static int |
NOTIFY_SUCCESS
|
protected int |
notifyOptions
|
static int |
RETURN_FULL
|
static int |
RETURN_HDRS
|
protected int |
returnOption
|
protected boolean |
sendPartial
|
protected String |
submitter
|
Fields inherited from class javax.mail.internet.MimeMessage |
---|
content, contentStream, dh, flags, headers, modified, saved |
Fields inherited from class javax.mail.Message |
---|
expunged, folder, msgnum, session |
Fields inherited from interface javax.mail.Part |
---|
ATTACHMENT, INLINE |
Constructor Summary | |
---|---|
SMTPMessage(MimeMessage source)
Construct an SMTPMimeMessage from another source MimeMessage object. |
|
SMTPMessage(Session session)
Default (and normal) constructor for an SMTPMessage. |
|
SMTPMessage(Session session,
InputStream source)
Construct an SMTPMessage instance by reading and parsing the data from the provided InputStream. |
Method Summary | |
---|---|
boolean |
getAllow8bitMIME()
Retrieve the current 8bitMIME attribute. |
String |
getEnvelopeFrom()
Retrieve the current evelopeFrom attribute. |
String |
getMailExtension()
Retrieve the current mailExtension attribute. |
int |
getNotifyOptions()
Retrieve the current notifyOptions attribute. |
int |
getReturnOption()
Retrieve the current returnOption attribute. |
boolean |
getSendPartial()
Retrieve the current sendPartial attribute. |
String |
getSubmitter()
Retrieve the current submitter attribute. |
void |
setAllow8bitMIME(boolean a)
Change the allow8BitMime attribute for the message. |
void |
setEnvelopeFrom(String from)
Change the envelopeFrom attribute for the message. |
void |
setMailExtension(String e)
Change the mailExtension attribute for the message. |
void |
setNotifyOptions(int options)
Change the notifyOptions attribute for the message. |
void |
setReturnOption(int option)
Change the returnOptions attribute for the message. |
void |
setSendPartial(boolean a)
Change the sendPartial attribute for the message. |
void |
setSubmitter(String s)
Change the submitter attribute for the message. |
Methods inherited from class javax.mail.Message |
---|
addRecipient, getFolder, getMessageNumber, isExpunged, match, setExpunged, setFlag, setMessageNumber, setRecipient |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int NOTIFY_NEVER
public static final int NOTIFY_SUCCESS
public static final int NOTIFY_FAILURE
public static final int NOTIFY_DELAY
public static final int RETURN_FULL
public static final int RETURN_HDRS
protected boolean allow8bitMIME
protected String envelopeFrom
protected String mailExtension
protected int notifyOptions
protected int returnOption
protected boolean sendPartial
protected String submitter
Constructor Detail |
---|
public SMTPMessage(Session session)
session
- The hosting Javamail Session.public SMTPMessage(Session session, InputStream source) throws MessagingException
session
- The hosting Javamail Session.
MessagingException
public SMTPMessage(MimeMessage source) throws MessagingException
source
- The source MimeMessage object.
MessagingException
Method Detail |
---|
public void setAllow8bitMIME(boolean a)
a
- The new setting.public boolean getAllow8bitMIME()
public void setEnvelopeFrom(String from)
from
- The new setting.public String getEnvelopeFrom()
public void setMailExtension(String e)
e
- The new setting.public String getMailExtension()
public void setNotifyOptions(int options)
options
- The new setting.public int getNotifyOptions()
public void setReturnOption(int option)
option
- The new setting.public int getReturnOption()
public void setSendPartial(boolean a)
a
- The new setting.public boolean getSendPartial()
public void setSubmitter(String s)
s
- The new setting.public String getSubmitter()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |