We usually notify 50+ users it takes over 30mins to finish job from Sending 
email to ... step. 
So thought of check with you.

On Wednesday, 1 October 2014 00:46:48 UTC+8, slide wrote:
>
> No, I don't think I'll do this. The best thing to do if you want to bypass 
> the mail address resolution through all the address resolvers is to add an 
> email address to the user in Jenkins.
>
> On Tue, Sep 30, 2014 at 8:40 AM, Venkat Prasad <venkat....@gmail.com 
> <javascript:>> wrote:
>
>> Hi Slide,
>>
>> We have come across that your email-ext plugin resolves users email 
>> address from LDAP.
>> its takes the lot of time to complete job if in case of more recipients.
>>
>> Can you please provide an option not to resolve from LDAP that just 
>> appends defaultSuffix?
>>
>>
>>
>> https://github.com/jenkinsci/email-ext-plugin/blob/master/src/main/java/hudson/plugins/emailext/EmailRecipientUtils.java
>>
>>     public static String getUserConfiguredEmail(User user) {
>>         String addr = null;
>>         if(user != null) {
>>             Mailer.UserProperty mailProperty = 
>> user.getProperty(Mailer.UserProperty.class);
>>             if (mailProperty != null) {
>>                 addr = mailProperty.getAddress();
>>                 String message = String.format("Resolved %s to %s", 
>> user.getId(), addr);
>>                 LOGGER.fine(message);
>>             }
>>         }
>>         return addr;
>>     }
>>
>>
>> Best regards,
>> Venkat
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Jenkins Developers" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to jenkinsci-de...@googlegroups.com <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Website: http://earl-of-code.com 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to