Thank you it does give some clues. It's slow at the point of connecting AND 
disconnecting:

.....
DEBUG SMTP: trying to connect to host "mail.xxxx.com", port 25, isSSL false 
            // long pause at this line
.....
221 Closing connection. Good bye.                                           
                                 // long pause before this line, which is 
the last logged line

No such pause outside Jenkins. 

On Monday, February 3, 2014 2:53:03 PM UTC-6, slide wrote:
>
> Can you enable debug mode for JavaMail? You can enable it using a command 
> line property
>
> -Dmail.debug=true
>
> This should dump some additional information to stdout/stderr that may 
> give some clues.
>
> slide
>
>
> On Mon, Feb 3, 2014 at 1:50 PM, Brian Lee <[email protected] <javascript:>
> > wrote:
>
>> Using the Mailer plugin in Jenkins (on Windows 7) to send a test email 
>> from the Configure screen gets the spinning graphic for a full 95 seconds. 
>> Then the email is sent successfully.
>>
>> I can hit the same smtp sever from the command prompt outside Jenkins and 
>> send nearly instantly. Same command inside Jenkins as a Build Step = slow 
>> as the test email above.
>>
>> The emails are always sent. Just that it takes much longer when done from 
>> Jenkins or a Jenkins-launched build.
>>
>> Non-email operations inside Jenkins are performing as expected. Just 
>> email from Jenkins is slow.
>>
>> I've done a lot of googling, suggestions appreciated...
>>
>>
>>  -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Jenkins Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>
>
> -- 
> Website: http://earl-of-code.com 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to