Project

General

Profile

Actions

Defect #13698

closed

Wrong argument error when sending email notifications after upgrading to 2.3.0

Added by Mike Johnson over 11 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Email notifications
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

Email notifications were working yesterday. I upgraded to Redmine 2.3.0 last night, and today I noticed email notifications weren't being sent out. I tried to send a test email and received the following error message:

An error occurred while sending mail (wrong argument (Fixnum)! (Expected kind of OpenSSL::SSL::SSLContext))

I checked my configuration.yml to make sure it was copied over from the earlier version (2.1.2), and it was:

production:
  email_delivery:
    delivery_method: :smtp
    smtp_settings:
      address: ourdomain.mail.eo.outlook.com
      port: 25
      domain: redmine.ourdomain.com

I have tried changing the delivery method to async_smtp but received the same error message. As you can see from the configuration, there is no SSL/TLS and no authentication. I also tried changing the domain name to a non-existant name, and received the same error.

Here is my environment information:

Server OS: FreeBSD 9.
Redmine version: 2.3.0.stable
Ruby version: 1.8.7 (amd64-freebsd9)
Rails version: 3.2.13
Environment: production
Database adapter: MySQL


Files

Firefox.png (12.1 KB) Firefox.png Sebastián Moreno, 2013-04-11 16:19

Related issues

Related to Redmine - Defect #14174: email sendding problem when update 2.2.3 to 2.3.1 and 2.3.0 to 2.3.1Closed

Actions
Related to Redmine - Defect #15775: Email delivery error: wrong argument (Fixnum)! (Expected kind of OpenSSL::SSL::SSLContext)Closed

Actions
Actions

Also available in: Atom PDF