<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi,<div><br></div><div>I see in the docs (<a href="http://logback.qos.ch/manual/appenders.html">http://logback.qos.ch/manual/appenders.html</a>) it says "<span class="Apple-style-span" style="font-family: Verdana, Arial, SunSans-Regular, sans-serif; ">SMTP email transmission (sending) is performed asynchronously". I'm looking on grepcode.com at version 1.2.25. I can't see how it is sending asynchronously.</span></div><div><span class="Apple-style-span" style="font-family: Verdana, Arial, SunSans-Regular, sans-serif; "><br></span></div><div><span class="Apple-style-span" style="font-family: Verdana, Arial, SunSans-Regular, sans-serif; ">SMTPAppender.java</span></div><div><span class="Apple-style-span" style="font-family: Verdana, Arial, SunSans-Regular, sans-serif; "><span class="Apple-style-span" style="font-family: 'Lucida Grande', Tahoma, Verdana, Arial, Helvetica, sans-serif; "><div class="line" id="line-112" style="margin-top: -2px; padding-left: 10px; "><pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; display: inline; "><span class="kw" style="color: rgb(127, 0, 85); font-weight: bold; ">void</span> <a class="context-menu" href="http://grepcode.com/file/repository.springsource.com/org.slf4j/com.springsource.slf4j.nlog4j/1.2.25/org/apache/log4j/net/SMTPAppender.java#" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 4px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; color: rgb(104, 144, 216); text-decoration: none; font-size: 1.4em; "><img class="img_base img_jdt_elcl16_thin_show_toolbar" border="0" title="More ..." width="11" height="16" style="margin-left: 3px; margin-right: 3px; width: 11px; height: 16px; background-image: url(http://grepcode.com/static/app/images/common_sprite.png); background-position: 0% -429px; background-repeat: no-repeat no-repeat; " src="cid:17597FC3-C03F-470B-B100-25782445FDA9@vegasoul.local"></a><a href="http://grepcode.com/file/repository.springsource.com/org.slf4j/com.springsource.slf4j.nlog4j/1.2.25/org/apache/log4j/AppenderSkeleton.java#AppenderSkeleton.append%28org.apache.log4j.spi.LoggingEvent%29" title="Overrides org.apache.log4j.AppenderSkeleton.append(...)" name="SMTPAppender.append%28org.apache.log4j.spi.LoggingEvent%29" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; color: rgb(51, 102, 187); ">append</a>(<a href="http://grepcode.com/file/repository.springsource.com/org.slf4j/com.springsource.slf4j.nlog4j/1.2.25/org/apache/log4j/spi/LoggingEvent.java#LoggingEvent" title="org.apache.log4j.spi.LoggingEvent" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; color: rgb(51, 102, 187); ">LoggingEvent</a> <span class="mark-14#0">event</span>) {</pre></div><div class="line" id="line-112" style="margin-top: -2px; padding-left: 10px; "><pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; display: inline; ">...</pre></div></span></span><span class="Apple-style-span" style="font-family: Verdana, Arial, SunSans-Regular, sans-serif; "><span class="Apple-style-span" style="font-family: 'Lucida Grande', Tahoma, Verdana, Arial, Helvetica, sans-serif; "><div class="line" id="line-125" style="margin-top: -2px; padding-left: 10px; "><div class="lnmr" id="lnmr-125" style="display: inline; "><a title="Generate HTML widget" href="http://grepcode.com/file/repository.springsource.com/org.slf4j/com.springsource.slf4j.nlog4j/1.2.25/org/apache/log4j/net/SMTPAppender.java#" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; color: rgb(51, 102, 187); text-decoration: none; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; "><img id="lnhs-125" width="16" height="16" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; " src="cid:DA2B28BD-3D55-47D6-A9B9-CA7641D690CD@vegasoul.local"></a></div><pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; display: inline; "> <a href="http://grepcode.com/file/repository.springsource.com/org.slf4j/com.springsource.slf4j.nlog4j/1.2.25/org/apache/log4j/net/SMTPAppender.java#SMTPAppender.sendBuffer%28%29" title="org.apache.log4j.net.SMTPAppender.sendBuffer() : void" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; color: rgb(51, 102, 187); ">sendBuffer</a>();</pre></div><div class="line" id="line-125" style="margin-top: -2px; padding-left: 10px; "><pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; display: inline; ">...</pre></div></span></span><span class="Apple-style-span" style="font-family: 'Lucida Grande', Tahoma, Verdana, Arial, Helvetica, sans-serif; "><pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; display: inline; ">}</pre></span><span class="Apple-style-span" style="font-family: Verdana, Arial, SunSans-Regular, sans-serif; "><span class="Apple-style-span" style="font-family: 'Lucida Grande', Tahoma, Verdana, Arial, Helvetica, sans-serif; "><div class="line" id="line-127" style="margin-top: -2px; padding-left: 10px; "><pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; display: inline; "><br></pre></div><div class="line" id="line-127" style="margin-top: -2px; padding-left: 10px; "><pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; display: inline; "><br></pre></div><div class="line" id="line-127" style="margin-top: -2px; padding-left: 10px; "><pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; display: inline; "><br></pre></div></span></span><span class="Apple-style-span" style="font-family: 'Lucida Grande', Tahoma, Verdana, Arial, Helvetica, sans-serif; "><div class="line" id="line-204" style="margin-top: -2px; padding-left: 10px; "><pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; display: inline; "><span class="kw" style="color: rgb(127, 0, 85); font-weight: bold; ">void</span> <a class="context-menu" href="http://grepcode.com/file/repository.springsource.com/org.slf4j/com.springsource.slf4j.nlog4j/1.2.25/org/apache/log4j/net/SMTPAppender.java#" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 4px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; color: rgb(104, 144, 216); text-decoration: none; font-size: 1.4em; "><img class="img_base img_jdt_elcl16_thin_show_toolbar" border="0" title="More ..." width="11" height="16" style="margin-left: 3px; margin-right: 3px; width: 11px; height: 16px; background-image: url(http://grepcode.com/static/app/images/common_sprite.png); background-position: 0% -429px; background-repeat: no-repeat no-repeat; " src="cid:4BF8DD12-7532-429F-9698-B31A8410D81D@vegasoul.local"></a><a name="SMTPAppender.sendBuffer%28%29" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">sendBuffer</a>() {</pre></div><div class="line" id="line-204" style="margin-top: -2px; padding-left: 10px; "><pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; display: inline; ">...</pre></div></span><span class="Apple-style-span" style="font-family: 'Lucida Grande', Tahoma, Verdana, Arial, Helvetica, sans-serif; "><div class="lnmr" id="lnmr-239" style="display: inline; "><a title="Generate HTML widget" href="http://grepcode.com/file/repository.springsource.com/org.slf4j/com.springsource.slf4j.nlog4j/1.2.25/org/apache/log4j/net/SMTPAppender.java#" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; color: rgb(51, 102, 187); text-decoration: none; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; "><img id="lnhs-239" width="16" height="16" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; " src="cid:D36FD685-9FBA-479A-A363-C14B15F52AE3@vegasoul.local"></a></div><pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; display: inline; "> Transport.<a href="http://grepcode.com/file/repository.springsource.com/javax.mail/com.springsource.javax.mail/1.4.1/javax/mail/Transport.java#Transport.send%28javax.mail.Message%29" title="javax.mail.Transport.send(javax.mail.Message) : void" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; color: rgb(51, 102, 187); ">send</a>(<span class="mark-7#1"><a href="http://grepcode.com/file/repository.springsource.com/org.slf4j/com.springsource.slf4j.nlog4j/1.2.25/org/apache/log4j/net/SMTPAppender.java#SMTPAppender.0msg" title="Message msg" class="hidden" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; color: rgb(0, 0, 0); text-decoration: none; ">msg</a></span></pre></span><span class="Apple-style-span" style="font-family: 'Lucida Grande', Tahoma, Verdana, Arial, Helvetica, sans-serif; "><pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; display: inline; ">);</pre></span></div><div><span class="Apple-style-span" style="font-family: 'Lucida Grande', Tahoma, Verdana, Arial, Helvetica, sans-serif; "><pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; display: inline; "> ...</pre></span></div><div><span class="Apple-style-span" style="font-family: 'Lucida Grande', Tahoma, Verdana, Arial, Helvetica, sans-serif; "></span><span class="Apple-style-span" style="font-family: 'Lucida Grande', Tahoma, Verdana, Arial, Helvetica, sans-serif; "><pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; display: inline; ">}</pre></span></div><div><span class="Apple-style-span" style="font-family: 'Lucida Grande', Tahoma, Verdana, Arial, Helvetica, sans-serif; "><pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; display: inline; "><br></pre></span></div><div><span class="Apple-style-span" style="font-family: 'Lucida Grande', Tahoma, Verdana, Arial, Helvetica, sans-serif; "><pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; display: inline; "><br></pre></span></div><div><span class="Apple-style-span" style="font-family: 'Lucida Grande', Tahoma, Verdana, Arial, Helvetica, sans-serif; "><pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; display: inline; ">Transport.java</pre></span></div><div><div class="line" id="line-136" style="font-family: 'Lucida Grande', Tahoma, Verdana, Arial, Helvetica, sans-serif; margin-top: -2px; padding-left: 10px; "><pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; display: inline; "><span class="kw" style="color: rgb(127, 0, 85); font-weight: bold; ">public</span> <span class="kw" style="color: rgb(127, 0, 85); font-weight: bold; ">static</span> <span class="kw" style="color: rgb(127, 0, 85); font-weight: bold; ">void</span> <a class="context-menu" href="http://grepcode.com/file/repository.springsource.com/javax.mail/com.springsource.javax.mail/1.4.1/javax/mail/Transport.java#" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 4px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; color: rgb(104, 144, 216); text-decoration: none; font-size: 1.4em; "><img class="img_base img_jdt_elcl16_thin_show_toolbar" border="0" title="More ..." width="11" height="16" style="margin-left: 3px; margin-right: 3px; width: 11px; height: 16px; background-image: url(http://grepcode.com/static/app/images/common_sprite.png); background-position: 0% -429px; background-repeat: no-repeat no-repeat; " src="cid:541B9118-1961-41F4-9FFA-ADE15B65EB27@vegasoul.local"></a><a name="Transport.send%28javax.mail.Message%2Cjavax.mail.Address%5B%5D%29" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">send</a>(<a href="http://grepcode.com/file/repository.springsource.com/javax.mail/com.springsource.javax.mail/1.4.1/javax/mail/Message.java#Message" title="javax.mail.Message" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; color: rgb(51, 102, 187); ">Message</a> <span class="mark-3#0">msg</span>, <a href="http://grepcode.com/file/repository.springsource.com/javax.mail/com.springsource.javax.mail/1.4.1/javax/mail/Address.java#Address%5B%5D" title="javax.mail.Address[]" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; color: rgb(51, 102, 187); ">Address</a>[] <span class="mark-4#0">addresses</span>) </pre><span class="Apple-style-span" style="font-family: monospace; white-space: pre; "><span class="kw" style="color: rgb(127, 0, 85); font-weight: bold; ">throws</span> <a href="http://grepcode.com/file/repository.springsource.com/javax.mail/com.springsource.javax.mail/1.4.1/javax/mail/MessagingException.java#MessagingException" title="javax.mail.MessagingException" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; color: rgb(51, 102, 187); ">MessagingException</a> {</span></div><div class="line" id="line-138" style="font-family: 'Lucida Grande', Tahoma, Verdana, Arial, Helvetica, sans-serif; margin-top: -2px; padding-left: 10px; "><div class="lnmr" id="lnmr-139" style="display: inline; "><a title="Generate HTML widget" href="http://grepcode.com/file/repository.springsource.com/javax.mail/com.springsource.javax.mail/1.4.1/javax/mail/Transport.java#" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; color: rgb(51, 102, 187); text-decoration: none; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; "><img id="lnhs-139" width="16" height="16" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; " src="cid:CB0C5CAF-09ED-4C6F-96D7-4DFD44B3DBBC@vegasoul.local"></a></div><pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; display: inline; "> <span class="mark-3#1">msg</span>.<a href="http://grepcode.com/file/repository.springsource.com/javax.mail/com.springsource.javax.mail/1.4.1/javax/mail/Message.java#Message.saveChanges%28%29" title="javax.mail.Message.saveChanges() : void" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; color: rgb(51, 102, 187); ">saveChanges</a>();</pre></div><div class="line" id="line-140" style="font-family: 'Lucida Grande', Tahoma, Verdana, Arial, Helvetica, sans-serif; margin-top: -2px; padding-left: 10px; "><div class="lnmr" id="lnmr-140" style="display: inline; "><a title="Generate HTML widget" href="http://grepcode.com/file/repository.springsource.com/javax.mail/com.springsource.javax.mail/1.4.1/javax/mail/Transport.java#" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; color: rgb(51, 102, 187); text-decoration: none; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; "><img id="lnhs-140" width="16" height="16" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; " src="cid:7F07AEB6-19FD-4BCD-AB60-D9F1853BAAC9@vegasoul.local"></a></div><pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; display: inline; "> <a href="http://grepcode.com/file/repository.springsource.com/javax.mail/com.springsource.javax.mail/1.4.1/javax/mail/Transport.java#Transport.send0%28javax.mail.Message%2Cjavax.mail.Address%5B%5D%29" title="javax.mail.Transport.send0(javax.mail.Message,javax.mail.Address[]) : void" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; color: rgb(51, 102, 187); ">send0</a>(<span class="mark-3#1">msg</span>, <span class="mark-4#1">addresses</span>);</pre></div><div class="line" id="line-141" style="font-family: 'Lucida Grande', Tahoma, Verdana, Arial, Helvetica, sans-serif; margin-top: -2px; padding-left: 10px; "><div class="lnmr" id="lnmr-141" style="display: inline; "><a title="Generate HTML widget" href="http://grepcode.com/file/repository.springsource.com/javax.mail/com.springsource.javax.mail/1.4.1/javax/mail/Transport.java#" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; color: rgb(51, 102, 187); text-decoration: none; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; "><img id="lnhs-141" width="16" height="16" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; " src="cid:E758A192-81AA-4341-AD25-B52A1197BE66@vegasoul.local"></a></div><pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; display: inline; "> }</pre></div><div class="line" id="line-142" style="font-family: 'Lucida Grande', Tahoma, Verdana, Arial, Helvetica, sans-serif; margin-top: -2px; padding-left: 10px; "><div class="lnmr" id="lnmr-142" style="display: inline; "><a title="Generate HTML widget" href="http://grepcode.com/file/repository.springsource.com/javax.mail/com.springsource.javax.mail/1.4.1/javax/mail/Transport.java#" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; color: rgb(51, 102, 187); text-decoration: none; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; "><img id="lnhs-142" width="16" height="16" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; " src="cid:6B007B74-7A65-49D4-9126-95BE0C38FDCF@vegasoul.local"></a></div></div><div class="line" id="line-144" style="font-family: 'Lucida Grande', Tahoma, Verdana, Arial, Helvetica, sans-serif; margin-top: -2px; padding-left: 10px; "><pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; display: inline; "><span class="kw" style="color: rgb(127, 0, 85); font-weight: bold; ">private</span> <span class="kw" style="color: rgb(127, 0, 85); font-weight: bold; ">static</span> <span class="kw" style="color: rgb(127, 0, 85); font-weight: bold; ">void</span> <a class="context-menu" href="http://grepcode.com/file/repository.springsource.com/javax.mail/com.springsource.javax.mail/1.4.1/javax/mail/Transport.java#" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 4px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; color: rgb(104, 144, 216); text-decoration: none; font-size: 1.4em; "><img class="img_base img_jdt_elcl16_thin_show_toolbar" border="0" title="More ..." width="11" height="16" style="margin-left: 3px; margin-right: 3px; width: 11px; height: 16px; background-image: url(http://grepcode.com/static/app/images/common_sprite.png); background-position: 0% -429px; background-repeat: no-repeat no-repeat; " src="cid:B3398402-AA97-4C8A-8678-67855DA6BD18@vegasoul.local"></a><a name="Transport.send0%28javax.mail.Message%2Cjavax.mail.Address%5B%5D%29" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">send0</a>(<a href="http://grepcode.com/file/repository.springsource.com/javax.mail/com.springsource.javax.mail/1.4.1/javax/mail/Message.java#Message" title="javax.mail.Message" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; color: rgb(51, 102, 187); ">Message</a> <span class="mark-5#0">msg</span>, <a href="http://grepcode.com/file/repository.springsource.com/javax.mail/com.springsource.javax.mail/1.4.1/javax/mail/Address.java#Address%5B%5D" title="javax.mail.Address[]" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; color: rgb(51, 102, 187); ">Address</a>[] <span class="mark-6#0">addresses</span>) </pre><span class="Apple-style-span" style="font-family: monospace; white-space: pre; "><span class="kw" style="color: rgb(127, 0, 85); font-weight: bold; ">throws</span> <a href="http://grepcode.com/file/repository.springsource.com/javax.mail/com.springsource.javax.mail/1.4.1/javax/mail/MessagingException.java#MessagingException" title="javax.mail.MessagingException" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; color: rgb(51, 102, 187); ">MessagingException</a></span><span class="Apple-style-span" style="font-family: monospace; white-space: pre; "> {</span></div><div class="line" id="line-144" style="margin-top: -2px; padding-left: 10px; "><font class="Apple-style-span" face="monospace"><span class="Apple-style-span" style="white-space: pre;">...</span></font><a title="Generate HTML widget" href="http://grepcode.com/file/repository.springsource.com/javax.mail/com.springsource.javax.mail/1.4.1/javax/mail/Transport.java#" style="font-family: 'Lucida Grande', Tahoma, Verdana, Arial, Helvetica, sans-serif; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; color: rgb(51, 102, 187); text-decoration: none; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; "><img id="lnhs-146" width="16" height="16" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; " src="cid:4E58EE1C-A569-4EC3-A6EE-88237ECF726A@vegasoul.local"></a></div><div class="line" id="line-146" style="font-family: 'Lucida Grande', Tahoma, Verdana, Arial, Helvetica, sans-serif; margin-top: -2px; padding-left: 10px; "><pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; display: inline; "></pre></div><div class="line" id="line-147" style="font-family: 'Lucida Grande', Tahoma, Verdana, Arial, Helvetica, sans-serif; margin-top: -2px; padding-left: 10px; "><div class="lnmr" id="lnmr-182" style="display: inline; "><a title="Generate HTML widget" href="http://grepcode.com/file/repository.springsource.com/javax.mail/com.springsource.javax.mail/1.4.1/javax/mail/Transport.java#" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; color: rgb(51, 102, 187); text-decoration: none; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; "><img id="lnhs-182" width="16" height="16" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; " src="cid:146BC62A-DDBE-4298-BD15-5C8F47C5CFD1@vegasoul.local"></a></div><pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; display: inline; "> <span class="comment" style="color: rgb(103, 103, 103); ">/*</span></pre></div><div class="line" id="line-183" style="font-family: 'Lucida Grande', Tahoma, Verdana, Arial, Helvetica, sans-serif; margin-top: -2px; padding-left: 10px; "><div class="lnmr" id="lnmr-183" style="display: inline; "><a title="Generate HTML widget" href="http://grepcode.com/file/repository.springsource.com/javax.mail/com.springsource.javax.mail/1.4.1/javax/mail/Transport.java#" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; color: rgb(51, 102, 187); text-decoration: none; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; "><img id="lnhs-183" width="16" height="16" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; " src="cid:D835A09C-0FAB-4A51-8B9F-CB66364DE1F7@vegasoul.local"></a></div><pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; display: inline; "><span class="comment" style="color: rgb(103, 103, 103); "> * Optimize the case of a single protocol.</span></pre></div><div class="line" id="line-184" style="font-family: 'Lucida Grande', Tahoma, Verdana, Arial, Helvetica, sans-serif; margin-top: -2px; padding-left: 10px; "><div class="lnmr" id="lnmr-184" style="display: inline; "><a title="Generate HTML widget" href="http://grepcode.com/file/repository.springsource.com/javax.mail/com.springsource.javax.mail/1.4.1/javax/mail/Transport.java#" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; color: rgb(51, 102, 187); text-decoration: none; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; "><img id="lnhs-184" width="16" height="16" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; " src="cid:B533FAFA-DCCD-459F-A676-8E76E11713E4@vegasoul.local"></a></div><pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; display: inline; "><span class="comment" style="color: rgb(103, 103, 103); "> */</span></pre></div><div class="line" id="line-185" style="font-family: 'Lucida Grande', Tahoma, Verdana, Arial, Helvetica, sans-serif; margin-top: -2px; padding-left: 10px; "><div class="lnmr" id="lnmr-185" style="display: inline; "><a title="Generate HTML widget" href="http://grepcode.com/file/repository.springsource.com/javax.mail/com.springsource.javax.mail/1.4.1/javax/mail/Transport.java#" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; color: rgb(51, 102, 187); text-decoration: none; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; "><img id="lnhs-185" width="16" height="16" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; " src="cid:311EBE66-C610-42B2-BDCF-350BCC520692@vegasoul.local"></a></div><pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; display: inline; "> <span class="kw" style="color: rgb(127, 0, 85); font-weight: bold; ">if</span> (<span class="mark-15#1">dsize</span> == 1) {</pre></div><div class="line" id="line-186" style="font-family: 'Lucida Grande', Tahoma, Verdana, Arial, Helvetica, sans-serif; margin-top: -2px; padding-left: 10px; "><div class="lnmr" id="lnmr-186" style="display: inline; "><a title="Generate HTML widget" href="http://grepcode.com/file/repository.springsource.com/javax.mail/com.springsource.javax.mail/1.4.1/javax/mail/Transport.java#" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; color: rgb(51, 102, 187); text-decoration: none; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; "><img id="lnhs-186" width="16" height="16" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; " src="cid:6A2561C6-E726-4945-A2BA-313724165832@vegasoul.local"></a></div><pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; display: inline; "> <span class="mark-18#0">transport</span> = <span class="mark-16#1">s</span>.<a href="http://grepcode.com/file/repository.springsource.com/javax.mail/com.springsource.javax.mail/1.4.1/javax/mail/Session.java#Session.getTransport%28javax.mail.Address%29" title="javax.mail.Session.getTransport(javax.mail.Address) : Transport" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; color: rgb(51, 102, 187); ">getTransport</a>(<span class="mark-6#1">addresses</span>[0]);</pre></div><div class="line" id="line-187" style="font-family: 'Lucida Grande', Tahoma, Verdana, Arial, Helvetica, sans-serif; margin-top: -2px; padding-left: 10px; "><div class="lnmr" id="lnmr-187" style="display: inline; "><a title="Generate HTML widget" href="http://grepcode.com/file/repository.springsource.com/javax.mail/com.springsource.javax.mail/1.4.1/javax/mail/Transport.java#" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; color: rgb(51, 102, 187); text-decoration: none; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; "><img id="lnhs-187" width="16" height="16" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; " src="cid:86057816-F52A-4689-9C0C-A0095627B18C@vegasoul.local"></a></div><pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; display: inline; "> <span class="kw" style="color: rgb(127, 0, 85); font-weight: bold; ">try</span> {</pre></div><div class="line" id="line-188" style="font-family: 'Lucida Grande', Tahoma, Verdana, Arial, Helvetica, sans-serif; margin-top: -2px; padding-left: 10px; "><div class="lnmr" id="lnmr-188" style="display: inline; "><a title="Generate HTML widget" href="http://grepcode.com/file/repository.springsource.com/javax.mail/com.springsource.javax.mail/1.4.1/javax/mail/Transport.java#" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; color: rgb(51, 102, 187); text-decoration: none; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; "><img id="lnhs-188" width="16" height="16" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; " src="cid:C85AB64F-30E2-4057-9682-8023B434E8A3@vegasoul.local"></a></div><pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; display: inline; "> <span class="mark-18#1">transport</span>.<a href="http://grepcode.com/file/repository.springsource.com/javax.mail/com.springsource.javax.mail/1.4.1/javax/mail/Service.java#Service.connect%28%29" title="javax.mail.Service.connect() : void" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; color: rgb(51, 102, 187); ">connect</a>();</pre></div><div class="line" id="line-189" style="font-family: 'Lucida Grande', Tahoma, Verdana, Arial, Helvetica, sans-serif; margin-top: -2px; padding-left: 10px; "><div class="lnmr" id="lnmr-189" style="display: inline; "><a title="Generate HTML widget" href="http://grepcode.com/file/repository.springsource.com/javax.mail/com.springsource.javax.mail/1.4.1/javax/mail/Transport.java#" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; color: rgb(51, 102, 187); text-decoration: none; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; "><img id="lnhs-189" width="16" height="16" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; " src="cid:3F43D0A3-4FE2-4CFD-94F2-F9BAD26654FF@vegasoul.local"></a></div><pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; display: inline; "> <span class="mark-18#1">transport</span>.<a href="http://grepcode.com/file/repository.springsource.com/javax.mail/com.springsource.javax.mail/1.4.1/javax/mail/Transport.java#Transport.sendMessage%28javax.mail.Message%2Cjavax.mail.Address%5B%5D%29" title="javax.mail.Transport.sendMessage(javax.mail.Message,javax.mail.Address[]) : void" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; color: rgb(51, 102, 187); ">sendMessage</a>(<span class="mark-5#1">msg</span>, <span class="mark-6#1">addresses</span>);</pre></div><div class="line" id="line-190" style="font-family: 'Lucida Grande', Tahoma, Verdana, Arial, Helvetica, sans-serif; margin-top: -2px; padding-left: 10px; "><div class="lnmr" id="lnmr-190" style="display: inline; "><a title="Generate HTML widget" href="http://grepcode.com/file/repository.springsource.com/javax.mail/com.springsource.javax.mail/1.4.1/javax/mail/Transport.java#" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; color: rgb(51, 102, 187); text-decoration: none; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; "><img id="lnhs-190" width="16" height="16" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; " src="cid:7612BFE9-9EFD-4E9D-B9B4-307777C8C3BC@vegasoul.local"></a></div><pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; display: inline; "> } <span class="kw" style="color: rgb(127, 0, 85); font-weight: bold; ">finally</span> {</pre></div><div class="line" id="line-191" style="font-family: 'Lucida Grande', Tahoma, Verdana, Arial, Helvetica, sans-serif; margin-top: -2px; padding-left: 10px; "><div class="lnmr" id="lnmr-191" style="display: inline; "><a title="Generate HTML widget" href="http://grepcode.com/file/repository.springsource.com/javax.mail/com.springsource.javax.mail/1.4.1/javax/mail/Transport.java#" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; color: rgb(51, 102, 187); text-decoration: none; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; "><img id="lnhs-191" width="16" height="16" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; " src="cid:FF7BE61D-99B5-48B0-B386-F804512B6B7D@vegasoul.local"></a></div><pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; display: inline; "> <span class="mark-18#1">transport</span>.<a href="http://grepcode.com/file/repository.springsource.com/javax.mail/com.springsource.javax.mail/1.4.1/javax/mail/Service.java#Service.close%28%29" title="javax.mail.Service.close() : void" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; color: rgb(51, 102, 187); ">close</a>();</pre></div><div class="line" id="line-192" style="font-family: 'Lucida Grande', Tahoma, Verdana, Arial, Helvetica, sans-serif; margin-top: -2px; padding-left: 10px; "><div class="lnmr" id="lnmr-192" style="display: inline; "><a title="Generate HTML widget" href="http://grepcode.com/file/repository.springsource.com/javax.mail/com.springsource.javax.mail/1.4.1/javax/mail/Transport.java#" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; color: rgb(51, 102, 187); text-decoration: none; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; "><img id="lnhs-192" width="16" height="16" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; " src="cid:94C1AD0D-EF3D-4A0C-9D42-EBE8669E8EA2@vegasoul.local"></a></div><pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; display: inline; "> }</pre></div><div class="line" id="line-193" style="font-family: 'Lucida Grande', Tahoma, Verdana, Arial, Helvetica, sans-serif; margin-top: -2px; padding-left: 10px; "><div class="lnmr" id="lnmr-193" style="display: inline; "><a title="Generate HTML widget" href="http://grepcode.com/file/repository.springsource.com/javax.mail/com.springsource.javax.mail/1.4.1/javax/mail/Transport.java#" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; color: rgb(51, 102, 187); text-decoration: none; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; "><img id="lnhs-193" width="16" height="16" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; " src="cid:5B74C860-5C3E-4C83-AEDA-2079AEA0F90C@vegasoul.local"></a></div><pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; display: inline; "> <span class="kw" style="color: rgb(127, 0, 85); font-weight: bold; ">return</span>;</pre></div><div class="line" id="line-194" style="font-family: 'Lucida Grande', Tahoma, Verdana, Arial, Helvetica, sans-serif; margin-top: -2px; padding-left: 10px; "><div class="lnmr" id="lnmr-194" style="display: inline; "><a title="Generate HTML widget" href="http://grepcode.com/file/repository.springsource.com/javax.mail/com.springsource.javax.mail/1.4.1/javax/mail/Transport.java#" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; color: rgb(51, 102, 187); text-decoration: none; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; "><img id="lnhs-194" width="16" height="16" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; " src="cid:176B0C47-371D-4AF4-AE1C-8D5B94E1A755@vegasoul.local"></a></div><pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; display: inline; "> }</pre></div><div class="line" id="line-195" style="font-family: 'Lucida Grande', Tahoma, Verdana, Arial, Helvetica, sans-serif; margin-top: -2px; padding-left: 10px; "><div class="lnml" id="lnml-202" style="display: inline; ">...</div></div><div class="line" id="line-195" style="font-family: 'Lucida Grande', Tahoma, Verdana, Arial, Helvetica, sans-serif; margin-top: -2px; padding-left: 10px; "><div class="lnml" id="lnml-202" style="display: inline; ">}</div></div><div class="line" id="line-195" style="font-family: 'Lucida Grande', Tahoma, Verdana, Arial, Helvetica, sans-serif; margin-top: -2px; padding-left: 10px; "><br></div></div></body></html>