Click here to Skip to main content
11,705,208 members (43,311 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: Ruby
configuration.yml

development:
  email_delivery:
    delivery_method: :smtp
    smtp_settings:
     #tls: true
      #enable_starttls_auto: true
      openssl_verify_mode: 'none'
      address: "domain name"
      port: 25
      authentication: :login
      domain: 'mail domail name'
      user_name: 'mail id'
      password: 'pwd'

this code use to for the following error occurs

An error occurred while sending mail (SSL_connect returned=1 errno=0 state=SSLv2/v3 read server hello A: unknown protocol)

--------------------------------------------------------------------------------
 development:
   email_delivery:
     delivery_method: :smtp
     smtp_settings:
#       tls: true
#       enable_starttls_auto: true
       openssl_verify_mode: 'none'
       address: "domain name"
       port: 587
       authentication: :login
       domain: 'mail domail name'
       user_name: 'mail id'
       password: 'pwd'
this code use to for the following error occurs

An error occurred while sending mail (No connection could be made because the target machine actively refused it. - connect(2))

------------------------------------------------------------------------------------------------------------------
 development:
   email_delivery:
     delivery_method: :async_smtp
     smtp_settings:
#       tls: true
#       enable_starttls_auto: true
       openssl_verify_mode: 'none'
       address: "domain name"
       port: 25
       authentication: :login
       domain: 'mail domail name'
       user_name: 'mail id'
       password: 'pwd'
no error occurs but still not received mail on the user.
--------------------------------------------------------------


development:
   email_delivery:
     delivery_method: :smtp
     smtp_settings:
#       tls: true
#       enable_starttls_auto: true
       openssl_verify_mode: 'none'
       address: "domain name"
       port: 25
       authentication: :login
       domain: 'mail domail name'
       user_name: 'mail id'
       password: 'pwd'

this code to use redmine version 2.2.3 to use work with fine. but version 2.3.0 to use not working now.


please help me am two day search not solve this problems.
Posted 15-Apr-13 3:07am
Edited 15-Apr-13 3:29am
Nelek73.9K
v2

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

http://www.redmine.org/boards/1/topics/37402?r=37423[^]


enable_starttls_auto: false
openssl_verify_mode: 'none'

change to code to solve this problem. now working is fine.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 550
1 OriginalGriff 244
2 ppolymorphe 126
3 CPallini 82
4 F-ES Sitecore 70
0 OriginalGriff 8,988
1 Sergey Alexandrovich Kryukov 8,272
2 CPallini 5,189
3 Maciej Los 4,726
4 Mika Wendelius 3,606


Advertise | Privacy | Mobile
Web02 | 2.8.150819.1 | Last Updated 16 Apr 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100