Subversion Repositories javautils

Rev

Blame | Last modification | View Log | RSS feed

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!--NewPage-->
  3. <HTML>
  4. <HEAD>
  5. <!-- Generated by javadoc (build 1.6.0_10) on Tue Nov 17 12:13:42 PST 2009 -->
  6. <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
  7. <TITLE>
  8. SMTPSendFailedException (JavaMail API documentation)
  9. </TITLE>
  10.  
  11. <META NAME="date" CONTENT="2009-11-17">
  12.  
  13. <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
  14.  
  15. <SCRIPT type="text/javascript">
  16. function windowTitle()
  17. {
  18.     if (location.href.indexOf('is-external=true') == -1) {
  19.         parent.document.title="SMTPSendFailedException (JavaMail API documentation)";
  20.     }
  21. }
  22. </SCRIPT>
  23. <NOSCRIPT>
  24. </NOSCRIPT>
  25.  
  26. </HEAD>
  27.  
  28. <BODY BGCOLOR="white" onload="windowTitle();">
  29. <HR>
  30.  
  31.  
  32. <!-- ========= START OF TOP NAVBAR ======= -->
  33. <A NAME="navbar_top"><!-- --></A>
  34. <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
  35. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  36. <TR>
  37. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  38. <A NAME="navbar_top_firstrow"><!-- --></A>
  39. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  40.   <TR ALIGN="center" VALIGN="top">
  41.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  42.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  43.   <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  44.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/SMTPSendFailedException.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  45.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  46.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  47.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  48.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  49.   </TR>
  50. </TABLE>
  51. </TD>
  52. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  53. </EM>
  54. </TD>
  55. </TR>
  56.  
  57. <TR>
  58. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  59. &nbsp;<A HREF="../../../../com/sun/mail/smtp/SMTPMessage.html" title="class in com.sun.mail.smtp"><B>PREV CLASS</B></A>&nbsp;
  60. &nbsp;<A HREF="../../../../com/sun/mail/smtp/SMTPSSLTransport.html" title="class in com.sun.mail.smtp"><B>NEXT CLASS</B></A></FONT></TD>
  61. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  62.   <A HREF="../../../../index.html?com/sun/mail/smtp/SMTPSendFailedException.html" target="_top"><B>FRAMES</B></A>  &nbsp;
  63. &nbsp;<A HREF="SMTPSendFailedException.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
  64. &nbsp;<SCRIPT type="text/javascript">
  65.   <!--
  66.   if(window==top) {
  67.     document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  68.   }
  69.   //-->
  70. </SCRIPT>
  71. <NOSCRIPT>
  72.   <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  73. </NOSCRIPT>
  74.  
  75.  
  76. </FONT></TD>
  77. </TR>
  78. <TR>
  79. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  80.   SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  81. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  82. DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  83. </TR>
  84. </TABLE>
  85. <A NAME="skip-navbar_top"></A>
  86. <!-- ========= END OF TOP NAVBAR ========= -->
  87.  
  88. <HR>
  89. <!-- ======== START OF CLASS DATA ======== -->
  90. <H2>
  91. <FONT SIZE="-1">
  92. com.sun.mail.smtp</FONT>
  93. <BR>
  94. Class SMTPSendFailedException</H2>
  95. <PRE>
  96. <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
  97.   <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">java.lang.Throwable</A>
  98.       <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">java.lang.Exception</A>
  99.           <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">javax.mail.MessagingException</A>
  100.               <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../javax/mail/SendFailedException.html" title="class in javax.mail">javax.mail.SendFailedException</A>
  101.                   <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.sun.mail.smtp.SMTPSendFailedException</B>
  102. </PRE>
  103. <DL>
  104. <DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</A></DD>
  105. </DL>
  106. <HR>
  107. <DL>
  108. <DT><PRE>public class <B>SMTPSendFailedException</B><DT>extends <A HREF="../../../../javax/mail/SendFailedException.html" title="class in javax.mail">SendFailedException</A></DL>
  109. </PRE>
  110.  
  111. <P>
  112. This exception is thrown when the message cannot be sent. <p>
  113.  
  114.  This exception will usually appear first in a chained list of exceptions,
  115.  followed by SMTPAddressFailedExceptions and/or
  116.  SMTPAddressSucceededExceptions, * one per address.
  117.  This exception corresponds to one of the SMTP commands used to
  118.  send a message, such as the MAIL, DATA, and "end of data" commands,
  119.  but not including the RCPT command.
  120. <P>
  121.  
  122. <P>
  123. <DL>
  124. <DT><B>Since:</B></DT>
  125.   <DD>JavaMail 1.3.2</DD>
  126. <DT><B>See Also:</B><DD><A HREF="../../../../serialized-form.html#com.sun.mail.smtp.SMTPSendFailedException">Serialized Form</A></DL>
  127. <HR>
  128.  
  129. <P>
  130. <!-- =========== FIELD SUMMARY =========== -->
  131.  
  132. <A NAME="field_summary"><!-- --></A>
  133. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  134. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  135. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  136. <B>Field Summary</B></FONT></TH>
  137. </TR>
  138. <TR BGCOLOR="white" CLASS="TableRowColor">
  139. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  140. <CODE>protected &nbsp;<A HREF="../../../../javax/mail/internet/InternetAddress.html" title="class in javax.mail.internet">InternetAddress</A></CODE></FONT></TD>
  141. <TD><CODE><B><A HREF="../../../../com/sun/mail/smtp/SMTPSendFailedException.html#addr">addr</A></B></CODE>
  142.  
  143. <BR>
  144. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  145. </TR>
  146. <TR BGCOLOR="white" CLASS="TableRowColor">
  147. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  148. <CODE>protected &nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
  149. <TD><CODE><B><A HREF="../../../../com/sun/mail/smtp/SMTPSendFailedException.html#cmd">cmd</A></B></CODE>
  150.  
  151. <BR>
  152. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  153. </TR>
  154. <TR BGCOLOR="white" CLASS="TableRowColor">
  155. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  156. <CODE>protected &nbsp;int</CODE></FONT></TD>
  157. <TD><CODE><B><A HREF="../../../../com/sun/mail/smtp/SMTPSendFailedException.html#rc">rc</A></B></CODE>
  158.  
  159. <BR>
  160. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  161. </TR>
  162. </TABLE>
  163. &nbsp;<A NAME="fields_inherited_from_class_javax.mail.SendFailedException"><!-- --></A>
  164. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  165. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  166. <TH ALIGN="left"><B>Fields inherited from class javax.mail.<A HREF="../../../../javax/mail/SendFailedException.html" title="class in javax.mail">SendFailedException</A></B></TH>
  167. </TR>
  168. <TR BGCOLOR="white" CLASS="TableRowColor">
  169. <TD><CODE><A HREF="../../../../javax/mail/SendFailedException.html#invalid">invalid</A>, <A HREF="../../../../javax/mail/SendFailedException.html#validSent">validSent</A>, <A HREF="../../../../javax/mail/SendFailedException.html#validUnsent">validUnsent</A></CODE></TD>
  170. </TR>
  171. </TABLE>
  172. &nbsp;
  173. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  174.  
  175. <A NAME="constructor_summary"><!-- --></A>
  176. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  177. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  178. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  179. <B>Constructor Summary</B></FONT></TH>
  180. </TR>
  181. <TR BGCOLOR="white" CLASS="TableRowColor">
  182. <TD><CODE><B><A HREF="../../../../com/sun/mail/smtp/SMTPSendFailedException.html#SMTPSendFailedException(java.lang.String, int, java.lang.String, java.lang.Exception, javax.mail.Address[], javax.mail.Address[], javax.mail.Address[])">SMTPSendFailedException</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;cmd,
  183.                         int&nbsp;rc,
  184.                         <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;err,
  185.                         <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A>&nbsp;ex,
  186.                         <A HREF="../../../../javax/mail/Address.html" title="class in javax.mail">Address</A>[]&nbsp;vs,
  187.                         <A HREF="../../../../javax/mail/Address.html" title="class in javax.mail">Address</A>[]&nbsp;vus,
  188.                         <A HREF="../../../../javax/mail/Address.html" title="class in javax.mail">Address</A>[]&nbsp;inv)</CODE>
  189.  
  190. <BR>
  191. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an SMTPSendFailedException with the specified
  192.  address, return code, and error string.</TD>
  193. </TR>
  194. </TABLE>
  195. &nbsp;
  196. <!-- ========== METHOD SUMMARY =========== -->
  197.  
  198. <A NAME="method_summary"><!-- --></A>
  199. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  200. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  201. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  202. <B>Method Summary</B></FONT></TH>
  203. </TR>
  204. <TR BGCOLOR="white" CLASS="TableRowColor">
  205. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  206. <CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
  207. <TD><CODE><B><A HREF="../../../../com/sun/mail/smtp/SMTPSendFailedException.html#getCommand()">getCommand</A></B>()</CODE>
  208.  
  209. <BR>
  210. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the command that failed.</TD>
  211. </TR>
  212. <TR BGCOLOR="white" CLASS="TableRowColor">
  213. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  214. <CODE>&nbsp;int</CODE></FONT></TD>
  215. <TD><CODE><B><A HREF="../../../../com/sun/mail/smtp/SMTPSendFailedException.html#getReturnCode()">getReturnCode</A></B>()</CODE>
  216.  
  217. <BR>
  218. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the return code from the SMTP server that indicates the
  219.  reason for the failure.</TD>
  220. </TR>
  221. </TABLE>
  222. &nbsp;<A NAME="methods_inherited_from_class_javax.mail.SendFailedException"><!-- --></A>
  223. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  224. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  225. <TH ALIGN="left"><B>Methods inherited from class javax.mail.<A HREF="../../../../javax/mail/SendFailedException.html" title="class in javax.mail">SendFailedException</A></B></TH>
  226. </TR>
  227. <TR BGCOLOR="white" CLASS="TableRowColor">
  228. <TD><CODE><A HREF="../../../../javax/mail/SendFailedException.html#getInvalidAddresses()">getInvalidAddresses</A>, <A HREF="../../../../javax/mail/SendFailedException.html#getValidSentAddresses()">getValidSentAddresses</A>, <A HREF="../../../../javax/mail/SendFailedException.html#getValidUnsentAddresses()">getValidUnsentAddresses</A></CODE></TD>
  229. </TR>
  230. </TABLE>
  231. &nbsp;<A NAME="methods_inherited_from_class_javax.mail.MessagingException"><!-- --></A>
  232. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  233. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  234. <TH ALIGN="left"><B>Methods inherited from class javax.mail.<A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></B></TH>
  235. </TR>
  236. <TR BGCOLOR="white" CLASS="TableRowColor">
  237. <TD><CODE><A HREF="../../../../javax/mail/MessagingException.html#getCause()">getCause</A>, <A HREF="../../../../javax/mail/MessagingException.html#getNextException()">getNextException</A>, <A HREF="../../../../javax/mail/MessagingException.html#setNextException(java.lang.Exception)">setNextException</A>, <A HREF="../../../../javax/mail/MessagingException.html#toString()">toString</A></CODE></TD>
  238. </TR>
  239. </TABLE>
  240. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Throwable"><!-- --></A>
  241. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  242. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  243. <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</A></B></TH>
  244. </TR>
  245. <TR BGCOLOR="white" CLASS="TableRowColor">
  246. <TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html?is-external=true#fillInStackTrace()" title="class or interface in java.lang">fillInStackTrace</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html?is-external=true#getLocalizedMessage()" title="class or interface in java.lang">getLocalizedMessage</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html?is-external=true#getMessage()" title="class or interface in java.lang">getMessage</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html?is-external=true#getStackTrace()" title="class or interface in java.lang">getStackTrace</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html?is-external=true#initCause(java.lang.Throwable)" title="class or interface in java.lang">initCause</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html?is-external=true#printStackTrace()" title="class or interface in java.lang">printStackTrace</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html?is-external=true#printStackTrace(java.io.PrintStream)" title="class or interface in java.lang">printStackTrace</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html?is-external=true#printStackTrace(java.io.PrintWriter)" title="class or interface in java.lang">printStackTrace</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html?is-external=true#setStackTrace(java.lang.StackTraceElement[])" title="class or interface in java.lang">setStackTrace</A></CODE></TD>
  247. </TR>
  248. </TABLE>
  249. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  250. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  251. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  252. <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
  253. </TR>
  254. <TR BGCOLOR="white" CLASS="TableRowColor">
  255. <TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
  256. </TR>
  257. </TABLE>
  258. &nbsp;
  259. <P>
  260.  
  261. <!-- ============ FIELD DETAIL =========== -->
  262.  
  263. <A NAME="field_detail"><!-- --></A>
  264. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  265. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  266. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  267. <B>Field Detail</B></FONT></TH>
  268. </TR>
  269. </TABLE>
  270.  
  271. <A NAME="addr"><!-- --></A><H3>
  272. addr</H3>
  273. <PRE>
  274. protected <A HREF="../../../../javax/mail/internet/InternetAddress.html" title="class in javax.mail.internet">InternetAddress</A> <B>addr</B></PRE>
  275. <DL>
  276. <DL>
  277. </DL>
  278. </DL>
  279. <HR>
  280.  
  281. <A NAME="cmd"><!-- --></A><H3>
  282. cmd</H3>
  283. <PRE>
  284. protected <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>cmd</B></PRE>
  285. <DL>
  286. <DL>
  287. </DL>
  288. </DL>
  289. <HR>
  290.  
  291. <A NAME="rc"><!-- --></A><H3>
  292. rc</H3>
  293. <PRE>
  294. protected int <B>rc</B></PRE>
  295. <DL>
  296. <DL>
  297. </DL>
  298. </DL>
  299.  
  300. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  301.  
  302. <A NAME="constructor_detail"><!-- --></A>
  303. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  304. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  305. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  306. <B>Constructor Detail</B></FONT></TH>
  307. </TR>
  308. </TABLE>
  309.  
  310. <A NAME="SMTPSendFailedException(java.lang.String, int, java.lang.String, java.lang.Exception, javax.mail.Address[], javax.mail.Address[], javax.mail.Address[])"><!-- --></A><H3>
  311. SMTPSendFailedException</H3>
  312. <PRE>
  313. public <B>SMTPSendFailedException</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;cmd,
  314.                                int&nbsp;rc,
  315.                                <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;err,
  316.                                <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A>&nbsp;ex,
  317.                                <A HREF="../../../../javax/mail/Address.html" title="class in javax.mail">Address</A>[]&nbsp;vs,
  318.                                <A HREF="../../../../javax/mail/Address.html" title="class in javax.mail">Address</A>[]&nbsp;vus,
  319.                                <A HREF="../../../../javax/mail/Address.html" title="class in javax.mail">Address</A>[]&nbsp;inv)</PRE>
  320. <DL>
  321. <DD>Constructs an SMTPSendFailedException with the specified
  322.  address, return code, and error string.
  323. <P>
  324. <DL>
  325. <DT><B>Parameters:</B><DD><CODE>cmd</CODE> - the command that was sent to the SMTP server<DD><CODE>rc</CODE> - the SMTP return code indicating the failure<DD><CODE>err</CODE> - the error string from the SMTP server</DL>
  326. </DL>
  327.  
  328. <!-- ============ METHOD DETAIL ========== -->
  329.  
  330. <A NAME="method_detail"><!-- --></A>
  331. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  332. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  333. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  334. <B>Method Detail</B></FONT></TH>
  335. </TR>
  336. </TABLE>
  337.  
  338. <A NAME="getCommand()"><!-- --></A><H3>
  339. getCommand</H3>
  340. <PRE>
  341. public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getCommand</B>()</PRE>
  342. <DL>
  343. <DD>Return the command that failed.
  344. <P>
  345. <DD><DL>
  346. </DL>
  347. </DD>
  348. </DL>
  349. <HR>
  350.  
  351. <A NAME="getReturnCode()"><!-- --></A><H3>
  352. getReturnCode</H3>
  353. <PRE>
  354. public int <B>getReturnCode</B>()</PRE>
  355. <DL>
  356. <DD>Return the return code from the SMTP server that indicates the
  357.  reason for the failure.  See
  358.  <A HREF="http://www.ietf.org/rfc/rfc821.txt">RFC 821</A>
  359.  for interpretation of the return code.
  360. <P>
  361. <DD><DL>
  362. </DL>
  363. </DD>
  364. </DL>
  365. <!-- ========= END OF CLASS DATA ========= -->
  366. <HR>
  367.  
  368.  
  369. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  370. <A NAME="navbar_bottom"><!-- --></A>
  371. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  372. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  373. <TR>
  374. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  375. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  376. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  377.   <TR ALIGN="center" VALIGN="top">
  378.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  379.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  380.   <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  381.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/SMTPSendFailedException.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  382.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  383.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  384.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  385.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  386.   </TR>
  387. </TABLE>
  388. </TD>
  389. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  390. </EM>
  391. </TD>
  392. </TR>
  393.  
  394. <TR>
  395. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  396. &nbsp;<A HREF="../../../../com/sun/mail/smtp/SMTPMessage.html" title="class in com.sun.mail.smtp"><B>PREV CLASS</B></A>&nbsp;
  397. &nbsp;<A HREF="../../../../com/sun/mail/smtp/SMTPSSLTransport.html" title="class in com.sun.mail.smtp"><B>NEXT CLASS</B></A></FONT></TD>
  398. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  399.   <A HREF="../../../../index.html?com/sun/mail/smtp/SMTPSendFailedException.html" target="_top"><B>FRAMES</B></A>  &nbsp;
  400. &nbsp;<A HREF="SMTPSendFailedException.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
  401. &nbsp;<SCRIPT type="text/javascript">
  402.   <!--
  403.   if(window==top) {
  404.     document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  405.   }
  406.   //-->
  407. </SCRIPT>
  408. <NOSCRIPT>
  409.   <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  410. </NOSCRIPT>
  411.  
  412.  
  413. </FONT></TD>
  414. </TR>
  415. <TR>
  416. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  417.   SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  418. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  419. DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  420. </TR>
  421. </TABLE>
  422. <A NAME="skip-navbar_bottom"></A>
  423. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  424.  
  425. <HR>
  426. Copyright &#169; 2009 <a href="http://www.sun.com">Sun Microsystems, Inc.</a>. All Rights Reserved.
  427. </BODY>
  428. </HTML>
  429.