From ebef021e94da75d4ecfb6bd10bcef0cf4325d5ca Mon Sep 17 00:00:00 2001 From: Sojan Jose Date: Tue, 15 Apr 2025 23:45:49 -0700 Subject: [PATCH] chore: Increase the timeout to support slow SMTP servers (#10318) Converting https://github.com/chatwoot/chatwoot/issues/7802#issuecomment-2171005257 to a PR Co-authored-by: Nickson Yap --- app/mailers/conversation_reply_mailer_helper.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/mailers/conversation_reply_mailer_helper.rb b/app/mailers/conversation_reply_mailer_helper.rb index 4f12bdb51..d34369832 100644 --- a/app/mailers/conversation_reply_mailer_helper.rb +++ b/app/mailers/conversation_reply_mailer_helper.rb @@ -85,6 +85,8 @@ module ConversationReplyMailerHelper tls: false, enable_starttls_auto: true, openssl_verify_mode: 'none', + open_timeout: 15, + read_timeout: 15, authentication: 'xoauth2' } end