messagingexception.html
来自「SUN的JAVA MAIL API」· HTML 代码 · 共 1,254 行 · 第 1/5 页
HTML
1,254 行
Get all the recipient addresses for the message.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract void</CODE></FONT></TD>
<TD><CODE><B>Message.<A HREF="../../../javax/mail/Message.html#setRecipients(javax.mail.Message.RecipientType, javax.mail.Address[])">setRecipients</A></B>(<A HREF="../../../javax/mail/Message.RecipientType.html">Message.RecipientType</A> type,
<A HREF="../../../javax/mail/Address.html">Address</A>[] addresses)</CODE>
<BR>
Set the recipient addresses.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B>Message.<A HREF="../../../javax/mail/Message.html#setRecipient(javax.mail.Message.RecipientType, javax.mail.Address)">setRecipient</A></B>(<A HREF="../../../javax/mail/Message.RecipientType.html">Message.RecipientType</A> type,
<A HREF="../../../javax/mail/Address.html">Address</A> address)</CODE>
<BR>
Set the recipient address.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract void</CODE></FONT></TD>
<TD><CODE><B>Message.<A HREF="../../../javax/mail/Message.html#addRecipients(javax.mail.Message.RecipientType, javax.mail.Address[])">addRecipients</A></B>(<A HREF="../../../javax/mail/Message.RecipientType.html">Message.RecipientType</A> type,
<A HREF="../../../javax/mail/Address.html">Address</A>[] addresses)</CODE>
<BR>
Add these recipient addresses to the existing ones of the given type.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B>Message.<A HREF="../../../javax/mail/Message.html#addRecipient(javax.mail.Message.RecipientType, javax.mail.Address)">addRecipient</A></B>(<A HREF="../../../javax/mail/Message.RecipientType.html">Message.RecipientType</A> type,
<A HREF="../../../javax/mail/Address.html">Address</A> address)</CODE>
<BR>
Add this recipient address to the existing ones of the given type.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../javax/mail/Address.html">Address</A>[]</CODE></FONT></TD>
<TD><CODE><B>Message.<A HREF="../../../javax/mail/Message.html#getReplyTo()">getReplyTo</A></B>()</CODE>
<BR>
Get the addresses to which replies should be directed.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B>Message.<A HREF="../../../javax/mail/Message.html#setReplyTo(javax.mail.Address[])">setReplyTo</A></B>(<A HREF="../../../javax/mail/Address.html">Address</A>[] addresses)</CODE>
<BR>
Set the addresses to which replies should be directed.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract java.lang.String</CODE></FONT></TD>
<TD><CODE><B>Message.<A HREF="../../../javax/mail/Message.html#getSubject()">getSubject</A></B>()</CODE>
<BR>
Get the subject of this message.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract void</CODE></FONT></TD>
<TD><CODE><B>Message.<A HREF="../../../javax/mail/Message.html#setSubject(java.lang.String)">setSubject</A></B>(java.lang.String subject)</CODE>
<BR>
Set the subject of this message.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract java.util.Date</CODE></FONT></TD>
<TD><CODE><B>Message.<A HREF="../../../javax/mail/Message.html#getSentDate()">getSentDate</A></B>()</CODE>
<BR>
Get the date this message was sent.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract void</CODE></FONT></TD>
<TD><CODE><B>Message.<A HREF="../../../javax/mail/Message.html#setSentDate(java.util.Date)">setSentDate</A></B>(java.util.Date date)</CODE>
<BR>
Set the sent date of this message.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract java.util.Date</CODE></FONT></TD>
<TD><CODE><B>Message.<A HREF="../../../javax/mail/Message.html#getReceivedDate()">getReceivedDate</A></B>()</CODE>
<BR>
Get the date this message was received.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract <A HREF="../../../javax/mail/Flags.html">Flags</A></CODE></FONT></TD>
<TD><CODE><B>Message.<A HREF="../../../javax/mail/Message.html#getFlags()">getFlags</A></B>()</CODE>
<BR>
Returns a <code>Flags</code> object containing the flags for
this message.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B>Message.<A HREF="../../../javax/mail/Message.html#isSet(javax.mail.Flags.Flag)">isSet</A></B>(<A HREF="../../../javax/mail/Flags.Flag.html">Flags.Flag</A> flag)</CODE>
<BR>
Check whether the flag specified in the <code>flag</code>
argument is set in this message.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract void</CODE></FONT></TD>
<TD><CODE><B>Message.<A HREF="../../../javax/mail/Message.html#setFlags(javax.mail.Flags, boolean)">setFlags</A></B>(<A HREF="../../../javax/mail/Flags.html">Flags</A> flag,
boolean set)</CODE>
<BR>
Set the specified flags on this message to the specified value.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B>Message.<A HREF="../../../javax/mail/Message.html#setFlag(javax.mail.Flags.Flag, boolean)">setFlag</A></B>(<A HREF="../../../javax/mail/Flags.Flag.html">Flags.Flag</A> flag,
boolean set)</CODE>
<BR>
Set the specified flag on this message to the specified value.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract <A HREF="../../../javax/mail/Message.html">Message</A></CODE></FONT></TD>
<TD><CODE><B>Message.<A HREF="../../../javax/mail/Message.html#reply(boolean)">reply</A></B>(boolean replyToAll)</CODE>
<BR>
Get a new Message suitable for a reply to this message.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract void</CODE></FONT></TD>
<TD><CODE><B>Message.<A HREF="../../../javax/mail/Message.html#saveChanges()">saveChanges</A></B>()</CODE>
<BR>
Save any changes made to this message into the message-store
when the containing folder is closed, if the message is contained
in a folder.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B>Message.<A HREF="../../../javax/mail/Message.html#match(javax.mail.search.SearchTerm)">match</A></B>(<A HREF="../../../javax/mail/search/SearchTerm.html">SearchTerm</A> term)</CODE>
<BR>
Apply the specified Search criterion to this message.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../javax/mail/URLName.html">URLName</A></CODE></FONT></TD>
<TD><CODE><B>Folder.<A HREF="../../../javax/mail/Folder.html#getURLName()">getURLName</A></B>()</CODE>
<BR>
Return a URLName representing this folder.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract <A HREF="../../../javax/mail/Folder.html">Folder</A></CODE></FONT></TD>
<TD><CODE><B>Folder.<A HREF="../../../javax/mail/Folder.html#getParent()">getParent</A></B>()</CODE>
<BR>
Returns the parent folder of this folder.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract boolean</CODE></FONT></TD>
<TD><CODE><B>Folder.<A HREF="../../../javax/mail/Folder.html#exists()">exists</A></B>()</CODE>
<BR>
Tests if this folder physically exists on the Store.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract <A HREF="../../../javax/mail/Folder.html">Folder</A>[]</CODE></FONT></TD>
<TD><CODE><B>Folder.<A HREF="../../../javax/mail/Folder.html#list(java.lang.String)">list</A></B>(java.lang.String pattern)</CODE>
<BR>
Returns a list of Folders belonging to this Folder's namespace
that match the specified pattern.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../javax/mail/Folder.html">Folder</A>[]</CODE></FONT></TD>
<TD><CODE><B>Folder.<A HREF="../../../javax/mail/Folder.html#listSubscribed(java.lang.String)">listSubscribed</A></B>(java.lang.String pattern)</CODE>
<BR>
Returns a list of subscribed Folders belonging to this Folder's
namespace that match the specified pattern.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../javax/mail/Folder.html">Folder</A>[]</CODE></FONT></TD>
<TD><CODE><B>Folder.<A HREF="../../../javax/mail/Folder.html#list()">list</A></B>()</CODE>
<BR>
Convenience method that returns the list of folders under this
Folder.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../javax/mail/Folder.html">Folder</A>[]</CODE></FONT></TD>
<TD><CODE><B>Folder.<A HREF="../../../javax/mail/Folder.html#listSubscribed()">listSubscribed</A></B>()</CODE>
<BR>
Convenience method that returns the list of subscribed folders
under this Folder.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract char</CODE></FONT></TD>
<TD><CODE><B>Folder.<A HREF="../../../javax/mail/Folder.html#getSeparator()">getSeparator</A></B>()</CODE>
<BR>
Return the delimiter character that separates this Folder's pathname
from the names of immediate subfolders.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract int</CODE></FONT></TD>
<TD><CODE><B>Folder.<A HREF="../../../javax/mail/Folder.html#getType()">getType</A></B>()</CODE>
<BR>
Returns the type of this Folder, that is, whether this folder can hold
messages or subfolders or both.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract boolean</CODE></FONT></TD>
<TD><CODE><B>Folder.<A HREF="../../../javax/mail/Folder.html#create(int)">create</A></B>(int type)</CODE>
<BR>
Create this folder on the Store.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B>Folder.<A HREF="../../../javax/mail/Folder.html#setSubscribed(boolean)">setSubscribed</A></B>(boolean subscribe)</CODE>
<BR>
Subscribe or unsubscribe this Folder.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?