Skip to content

Commit 78e6de5

Browse files
waleedlatif1claude
andcommitted
fix(webhooks): remove unintended rejectUnauthorized field from IMAP polling config
The refactored IMAP handler added a rejectUnauthorized field that was not present in the original configureImapPolling function. This would default to true for all existing IMAP webhooks, potentially breaking connections to servers with self-signed certificates. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 1478de1 commit 78e6de5

File tree

1 file changed

+0
-1
lines changed
  • apps/sim/lib/webhooks/providers

1 file changed

+0
-1
lines changed

apps/sim/lib/webhooks/providers/imap.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ export const imapHandler: WebhookProviderHandler = {
5757
...providerConfig,
5858
port: providerConfig.port || '993',
5959
secure: providerConfig.secure !== false,
60-
rejectUnauthorized: providerConfig.rejectUnauthorized !== false,
6160
mailbox: providerConfig.mailbox || 'INBOX',
6261
searchCriteria: providerConfig.searchCriteria || 'UNSEEN',
6362
markAsRead: providerConfig.markAsRead || false,

0 commit comments

Comments
 (0)