jenkinsci / poll-mailbox-trigger-plugin

A Jenkins plugin, to poll an email inbox, and trigger jobs based on new emails.
https://plugins.jenkins.io/poll-mailbox-trigger-plugin/
MIT License
40 stars 32 forks source link

Exception when mail has no To-Recipient #22

Closed fendtinger closed 6 years ago

fendtinger commented 7 years ago

Steps to reproduce

How can we reproduce the issue

  1. receive an email with no To-Mailadresse (e.g. "Undisclosed recipients;"), the recipient is set in BCC field
  2. i've used an gmail account for the trigger postbox

Expected behaviour

The trigger should schedule a job

Actual behaviour

An Exception occured when polling

Searching folder... Found matching email(s) : 1

Server configuration

Operating system: macOS 10.12.2

Jenkins Version: 2.39

Plugin Version: 1.025

Additional Steps/Questions