Hello

i would recommend configuring a dedicated logger to capture more debug info 
from main Jenkins logs, something like:

[image: Screenshot 2023-01-09 092811.png]

This would give you more context about the email sending, and hopefully 
also during the failure.

Good luck

On Friday, 6 January 2023 at 18:47:13 UTC+1 Xavier Raynaud wrote:

> Hi,
>
> I'm using email-ext plugin on a post-build task of a FreeStyle project and 
> sometime, emails are not send.
> In order to understand why, I activate the "Enable Debug Mode" of this 
> plugin.
>
> I obtain the following output when all is OK:
>
> *18:05:27* Performing post-build step*18:05:27* Checking if email needs to be 
> generated*18:05:27* Email was triggered for: Always*18:05:27* Sending email 
> for trigger: Always*18:05:27* Sending mail from default account using custom 
> from address [email protected]
> *18:05:27* messageContentType = text/plain; charset=UTF-8
> [...]
> *18:05:27* DEBUG SMTP: message successfully delivered to mail server
> [...]
> *18:05:27* Finished: SUCCESS
>
>
>
> But from time to time, I obtain the following output, and... nothing more. 
> The run just stops here.
>
> *17:55:17* Performing post-build step*17:55:17* Checking if email needs to be 
> generated*17:55:17* Email was triggered for: Always*17:55:17* Sending email 
> for trigger: Always*17:55:17* Sending mail from default account using custom 
> from address [email protected]
>
> I'm using jenkins 2.346.3 and email-ext 2.92
>
> Any advice to debug this issue ?
> Regards,
> Xavier R.
>
>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/70c2dcad-da36-4e72-971c-3db117fbf0edn%40googlegroups.com.

Reply via email to