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

imap server and proxy with authentification #30

Closed vinogradoff closed 6 years ago

vinogradoff commented 7 years ago

Is it possible to configure a proxy with authentification in your plugin?

I have found: mail.imap.socks.host & mail.imap.socks.port settings, but no property for proxy's username/password...

Could you please help?

nickgrealy commented 6 years ago

Hi @vinogradoff ,

From this one comment here, it sounds like JavaMail (the underlying library) doesn't support proxy authentication (only anonymous proxies are supported).

I don't have any experience connecting Java applications via socks proxies with authentication, but if you can find an example on how to do so, I'll do my best to incorporate it into the code base.

Kind regards, Nick