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. SMTPAddressSucceededException (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="SMTPAddressSucceededException (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/SMTPAddressSucceededException.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/SMTPAddressFailedException.html" title="class in com.sun.mail.smtp"><B>PREV CLASS</B></A>&nbsp;
  60. &nbsp;<A HREF="../../../../com/sun/mail/smtp/SMTPMessage.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/SMTPAddressSucceededException.html" target="_top"><B>FRAMES</B></A>  &nbsp;
  63. &nbsp;<A HREF="SMTPAddressSucceededException.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 SMTPAddressSucceededException</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 "><B>com.sun.mail.smtp.SMTPAddressSucceededException</B>
  101. </PRE>
  102. <DL>
  103. <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>
  104. </DL>
  105. <HR>
  106. <DL>
  107. <DT><PRE>public class <B>SMTPAddressSucceededException</B><DT>extends <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></DL>
  108. </PRE>
  109.  
  110. <P>
  111. This exception is chained off a SendFailedException when the
  112.  <code>mail.smtp.reportsuccess</code> property is true.  It
  113.  indicates an address to which the message was sent.  The command
  114.  will be an SMTP RCPT command and the return code will be the
  115.  return code from that command.
  116. <P>
  117.  
  118. <P>
  119. <DL>
  120. <DT><B>Since:</B></DT>
  121.   <DD>JavaMail 1.3.2</DD>
  122. <DT><B>See Also:</B><DD><A HREF="../../../../serialized-form.html#com.sun.mail.smtp.SMTPAddressSucceededException">Serialized Form</A></DL>
  123. <HR>
  124.  
  125. <P>
  126. <!-- =========== FIELD SUMMARY =========== -->
  127.  
  128. <A NAME="field_summary"><!-- --></A>
  129. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  130. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  131. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  132. <B>Field Summary</B></FONT></TH>
  133. </TR>
  134. <TR BGCOLOR="white" CLASS="TableRowColor">
  135. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  136. <CODE>protected &nbsp;<A HREF="../../../../javax/mail/internet/InternetAddress.html" title="class in javax.mail.internet">InternetAddress</A></CODE></FONT></TD>
  137. <TD><CODE><B><A HREF="../../../../com/sun/mail/smtp/SMTPAddressSucceededException.html#addr">addr</A></B></CODE>
  138.  
  139. <BR>
  140. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  141. </TR>
  142. <TR BGCOLOR="white" CLASS="TableRowColor">
  143. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  144. <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>
  145. <TD><CODE><B><A HREF="../../../../com/sun/mail/smtp/SMTPAddressSucceededException.html#cmd">cmd</A></B></CODE>
  146.  
  147. <BR>
  148. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  149. </TR>
  150. <TR BGCOLOR="white" CLASS="TableRowColor">
  151. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  152. <CODE>protected &nbsp;int</CODE></FONT></TD>
  153. <TD><CODE><B><A HREF="../../../../com/sun/mail/smtp/SMTPAddressSucceededException.html#rc">rc</A></B></CODE>
  154.  
  155. <BR>
  156. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  157. </TR>
  158. </TABLE>
  159. &nbsp;
  160. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  161.  
  162. <A NAME="constructor_summary"><!-- --></A>
  163. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  164. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  165. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  166. <B>Constructor Summary</B></FONT></TH>
  167. </TR>
  168. <TR BGCOLOR="white" CLASS="TableRowColor">
  169. <TD><CODE><B><A HREF="../../../../com/sun/mail/smtp/SMTPAddressSucceededException.html#SMTPAddressSucceededException(javax.mail.internet.InternetAddress, java.lang.String, int, java.lang.String)">SMTPAddressSucceededException</A></B>(<A HREF="../../../../javax/mail/internet/InternetAddress.html" title="class in javax.mail.internet">InternetAddress</A>&nbsp;addr,
  170.                               <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,
  171.                               int&nbsp;rc,
  172.                               <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)</CODE>
  173.  
  174. <BR>
  175. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an SMTPAddressSucceededException with the specified
  176.  address, return code, and error string.</TD>
  177. </TR>
  178. </TABLE>
  179. &nbsp;
  180. <!-- ========== METHOD SUMMARY =========== -->
  181.  
  182. <A NAME="method_summary"><!-- --></A>
  183. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  184. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  185. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  186. <B>Method Summary</B></FONT></TH>
  187. </TR>
  188. <TR BGCOLOR="white" CLASS="TableRowColor">
  189. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  190. <CODE>&nbsp;<A HREF="../../../../javax/mail/internet/InternetAddress.html" title="class in javax.mail.internet">InternetAddress</A></CODE></FONT></TD>
  191. <TD><CODE><B><A HREF="../../../../com/sun/mail/smtp/SMTPAddressSucceededException.html#getAddress()">getAddress</A></B>()</CODE>
  192.  
  193. <BR>
  194. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the address that succeeded.</TD>
  195. </TR>
  196. <TR BGCOLOR="white" CLASS="TableRowColor">
  197. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  198. <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>
  199. <TD><CODE><B><A HREF="../../../../com/sun/mail/smtp/SMTPAddressSucceededException.html#getCommand()">getCommand</A></B>()</CODE>
  200.  
  201. <BR>
  202. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the command that succeeded.</TD>
  203. </TR>
  204. <TR BGCOLOR="white" CLASS="TableRowColor">
  205. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  206. <CODE>&nbsp;int</CODE></FONT></TD>
  207. <TD><CODE><B><A HREF="../../../../com/sun/mail/smtp/SMTPAddressSucceededException.html#getReturnCode()">getReturnCode</A></B>()</CODE>
  208.  
  209. <BR>
  210. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the return code from the SMTP server that indicates the
  211.  reason for the success.</TD>
  212. </TR>
  213. </TABLE>
  214. &nbsp;<A NAME="methods_inherited_from_class_javax.mail.MessagingException"><!-- --></A>
  215. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  216. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  217. <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>
  218. </TR>
  219. <TR BGCOLOR="white" CLASS="TableRowColor">
  220. <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>
  221. </TR>
  222. </TABLE>
  223. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Throwable"><!-- --></A>
  224. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  225. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  226. <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>
  227. </TR>
  228. <TR BGCOLOR="white" CLASS="TableRowColor">
  229. <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>
  230. </TR>
  231. </TABLE>
  232. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  233. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  234. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  235. <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>
  236. </TR>
  237. <TR BGCOLOR="white" CLASS="TableRowColor">
  238. <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>
  239. </TR>
  240. </TABLE>
  241. &nbsp;
  242. <P>
  243.  
  244. <!-- ============ FIELD DETAIL =========== -->
  245.  
  246. <A NAME="field_detail"><!-- --></A>
  247. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  248. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  249. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  250. <B>Field Detail</B></FONT></TH>
  251. </TR>
  252. </TABLE>
  253.  
  254. <A NAME="addr"><!-- --></A><H3>
  255. addr</H3>
  256. <PRE>
  257. protected <A HREF="../../../../javax/mail/internet/InternetAddress.html" title="class in javax.mail.internet">InternetAddress</A> <B>addr</B></PRE>
  258. <DL>
  259. <DL>
  260. </DL>
  261. </DL>
  262. <HR>
  263.  
  264. <A NAME="cmd"><!-- --></A><H3>
  265. cmd</H3>
  266. <PRE>
  267. 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>
  268. <DL>
  269. <DL>
  270. </DL>
  271. </DL>
  272. <HR>
  273.  
  274. <A NAME="rc"><!-- --></A><H3>
  275. rc</H3>
  276. <PRE>
  277. protected int <B>rc</B></PRE>
  278. <DL>
  279. <DL>
  280. </DL>
  281. </DL>
  282.  
  283. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  284.  
  285. <A NAME="constructor_detail"><!-- --></A>
  286. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  287. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  288. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  289. <B>Constructor Detail</B></FONT></TH>
  290. </TR>
  291. </TABLE>
  292.  
  293. <A NAME="SMTPAddressSucceededException(javax.mail.internet.InternetAddress, java.lang.String, int, java.lang.String)"><!-- --></A><H3>
  294. SMTPAddressSucceededException</H3>
  295. <PRE>
  296. public <B>SMTPAddressSucceededException</B>(<A HREF="../../../../javax/mail/internet/InternetAddress.html" title="class in javax.mail.internet">InternetAddress</A>&nbsp;addr,
  297.                                      <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,
  298.                                      int&nbsp;rc,
  299.                                      <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)</PRE>
  300. <DL>
  301. <DD>Constructs an SMTPAddressSucceededException with the specified
  302.  address, return code, and error string.
  303. <P>
  304. <DL>
  305. <DT><B>Parameters:</B><DD><CODE>addr</CODE> - the address that succeeded<DD><CODE>cmd</CODE> - the command that was sent to the SMTP server<DD><CODE>rc</CODE> - the SMTP return code indicating the success<DD><CODE>err</CODE> - the error string from the SMTP server</DL>
  306. </DL>
  307.  
  308. <!-- ============ METHOD DETAIL ========== -->
  309.  
  310. <A NAME="method_detail"><!-- --></A>
  311. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  312. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  313. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  314. <B>Method Detail</B></FONT></TH>
  315. </TR>
  316. </TABLE>
  317.  
  318. <A NAME="getAddress()"><!-- --></A><H3>
  319. getAddress</H3>
  320. <PRE>
  321. public <A HREF="../../../../javax/mail/internet/InternetAddress.html" title="class in javax.mail.internet">InternetAddress</A> <B>getAddress</B>()</PRE>
  322. <DL>
  323. <DD>Return the address that succeeded.
  324. <P>
  325. <DD><DL>
  326. </DL>
  327. </DD>
  328. </DL>
  329. <HR>
  330.  
  331. <A NAME="getCommand()"><!-- --></A><H3>
  332. getCommand</H3>
  333. <PRE>
  334. 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>
  335. <DL>
  336. <DD>Return the command that succeeded.
  337. <P>
  338. <DD><DL>
  339. </DL>
  340. </DD>
  341. </DL>
  342. <HR>
  343.  
  344. <A NAME="getReturnCode()"><!-- --></A><H3>
  345. getReturnCode</H3>
  346. <PRE>
  347. public int <B>getReturnCode</B>()</PRE>
  348. <DL>
  349. <DD>Return the return code from the SMTP server that indicates the
  350.  reason for the success.  See
  351.  <A HREF="http://www.ietf.org/rfc/rfc821.txt">RFC 821</A>
  352.  for interpretation of the return code.
  353. <P>
  354. <DD><DL>
  355. </DL>
  356. </DD>
  357. </DL>
  358. <!-- ========= END OF CLASS DATA ========= -->
  359. <HR>
  360.  
  361.  
  362. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  363. <A NAME="navbar_bottom"><!-- --></A>
  364. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  365. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  366. <TR>
  367. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  368. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  369. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  370.   <TR ALIGN="center" VALIGN="top">
  371.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  372.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  373.   <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  374.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/SMTPAddressSucceededException.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  375.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  376.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  377.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  378.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  379.   </TR>
  380. </TABLE>
  381. </TD>
  382. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  383. </EM>
  384. </TD>
  385. </TR>
  386.  
  387. <TR>
  388. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  389. &nbsp;<A HREF="../../../../com/sun/mail/smtp/SMTPAddressFailedException.html" title="class in com.sun.mail.smtp"><B>PREV CLASS</B></A>&nbsp;
  390. &nbsp;<A HREF="../../../../com/sun/mail/smtp/SMTPMessage.html" title="class in com.sun.mail.smtp"><B>NEXT CLASS</B></A></FONT></TD>
  391. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  392.   <A HREF="../../../../index.html?com/sun/mail/smtp/SMTPAddressSucceededException.html" target="_top"><B>FRAMES</B></A>  &nbsp;
  393. &nbsp;<A HREF="SMTPAddressSucceededException.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
  394. &nbsp;<SCRIPT type="text/javascript">
  395.   <!--
  396.   if(window==top) {
  397.     document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  398.   }
  399.   //-->
  400. </SCRIPT>
  401. <NOSCRIPT>
  402.   <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  403. </NOSCRIPT>
  404.  
  405.  
  406. </FONT></TD>
  407. </TR>
  408. <TR>
  409. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  410.   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>
  411. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  412. 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>
  413. </TR>
  414. </TABLE>
  415. <A NAME="skip-navbar_bottom"></A>
  416. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  417.  
  418. <HR>
  419. Copyright &#169; 2009 <a href="http://www.sun.com">Sun Microsystems, Inc.</a>. All Rights Reserved.
  420. </BODY>
  421. </HTML>
  422.