Ruby mailer is coming up with an EOFError

前端 未结 5 1189
北恋
北恋 2021-01-01 10:10

I am getting an EOFError (End Of File Error) on this code in my controller. The block where the error appears is at the end of the line that says UserMailer.deliver_m

5条回答
  •  清歌不尽
    2021-01-01 10:31

    Do you have to authenticate to the mail server?

    :authentication => :plain (if so), :enable_starttls_auto => true

提交回复
热议问题