[英]Mailer doesn't send emails. Rails 5. Hostgator mail server
之前有Gmail SMTP设置和电子邮件已发送,但是我在hostgator设置上更改了SMTP设置-
> smtp_settings:
> :address: gator3287.hostgator.com
> :port: 465
> :domain: my_site.com
> :user_name: noreply@my_site.com
> :password: password
> :authentication: plain
> :enable_starttls_auto: true
> default:
> :from: noreply@floorwatch.com
> :to: noreply@floorwatch.com
此设置有什么问题? 先感谢您!
使用:enable_starttls_auto: true
选项尝试以下端口:
SMTP 25
SMTP Alternate 26
SMTP Alternate 587
SMTP - SSL 465
我刚刚添加了:tls: true
,并且有效!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.