에서이 오류 "순 :: SMTPSyntaxError (502 5.5.1 인식 할 수없는 명령"나는이 코드 작업을레일 3 : 인터넷 : SMTPSyntaxError (502 5.5.1 인식 할 수없는 명령
실행 해요 :
class Notifier < ActionMailer::Base
default :from => "[email protected]"
def comment_updated(comment, user)
@comment = comment
@user = user
mail(:to => user.email,
:subject => "[JS] #{comment.job.subject_name} - # {comment.job.subject_name}")
end
end
그러나 아래 코드는이 오류 "순 :: SMTPSyntaxError (502 5.5.1 인식 할 수없는 명령"던졌습니다 :
class Notifier < ActionMailer::Base
default :from => "[email protected]"
def comment_updated(comment, user)
@comment = comment
@user = user
mail(:to => user.email,
:subject => "[JS] #{comment.job.subject_name} - #{comment.job.subject_name}",
:from => "jSearch
<comment+#{comment.job_id}@mysite.tv>") do |format|
format.text
format.html
end
end
end
내가 너무 내 들어오는 이메일을 처리하기 위해 Cloudmailin 서비스를 사용하고 싶습니다를 나는 갖고 싶어 : f 사용자가 답글을 클릭 할 때 롬 주소.
추가 코드가있는이 코드가 왜 작동하지 않겠습니까?