우리는 조직의 메일로 outlook.com (예 hotmail)을 사용합니다. 나는 outlook.com 계정으로 알림을 보내려면 redmine을 만들려고합니다. 루비가 배포 된 Debian 7의 Redmine 2.3.1. 2.3 옵션 이후 openssl_verify_mode가 중요하지 않으며 enable_starttls_auto와 병합되었음을 발견했습니다. (최소한 내 conf에서는 효과가없는 것처럼 보입니다.)하지만 확실하지 않습니다. config/configuration.yml에서 일부 버전의 설정을 시도했지만 실패했습니다. 사람이 같은 문제에 직면하고 해결책을 가지고있는 경우사용자 정의 도메인에 대한 redmine + outlook.com (예 hotmail) actionmailer config
default:
email_delivery:
delivery_method: :smtp
smtp_settings:
enable_starttls_auto: true
address: "smtp.live.com"
port: 587
domain: "customdomain.com"
authentication: :plain
user_name: [email protected]
password: passwd
이
An error occurred while sending mail (SSL_read:: wrong version number)
대체 버전을 가져옵니다
default:
email_delivery:
delivery_method: :smtp
smtp_settings:
enable_starttls_auto: false
address: "smtp.live.com"
port: 587
domain: "customdomain.com"
authentication: :plain
user_name: [email protected]
password: passwd
An error occurred while sending mail (530 5.7.0 Must issue a STARTTLS command first)
얻는다?
왜 downvote 라인 번호 다음에 다음 줄을 추가하는 것을 의미한다. 나는 매우 비슷한 문제가 있었고 그 오류는 Outlook의 SMTP URL 때문에 발생했습니다. 시도 : S = smtplib.SMTP() s.connect ("pod_you_get_this_value_from_settings (MSG에) 데프 sendEmail, 아래의 파이썬 코드를 확인하고 설정에서 계정에 가서 당신은 사용자 정의 SMTP 계정을 찾을 수 .outlook.com ", 587) s.starttls() s.ehlo() s.login ("username ", password) s.sendmail ("[email protected] ", to, msg) 예외를 제외하고, R : 인쇄 R – Peter