发送邮件时发生错误(SSL_connect返回= 1 errno = 0状态= SSLv2 / v3读取服务器问候A:未知协议) [英] An error occurred while sending mail (SSL_connect returned=1 errno=0 state=SSLv2/v3 read server hello A: unknown protocol)

查看:244
本文介绍了发送邮件时发生错误(SSL_connect返回= 1 errno = 0状态= SSLv2 / v3读取服务器问候A:未知协议)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

configuration.yml



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'





此代码用于发生以下错误



se时发生错误nding mail(SSL_connect返回= 1 errno = 0 state = SSLv2 / v3 read server hello A:未知协议)



----------- -------------------------------------------------- -------------------



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'



此代码用于发生以下错误



发送邮件时发生错误(由于目标计算机主动拒绝连接,因此无法建立连接。 - 连接(2))



---------------------------- -------------------------------------------------- ------------------------------------


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'



没有发生错误但仍没有收到用户的邮件。

------------- ------------------------------------------------- < br $>





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'





此代码使用redmine版本2.2.3来使用精细工作。但版本2.3.0现在使用不行。





请帮我两天搜索不解决这个问题。



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.

推荐答案

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





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.


这篇关于发送邮件时发生错误(SSL_connect返回= 1 errno = 0状态= SSLv2 / v3读取服务器问候A:未知协议)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆