2010-04-05 2 views
1

"지원팀 [email protected]"과 같이 형식이 지정된 발신자에게 전자 메일을 보내려고합니다.actionmailer의 형식은

는 전달 방법 경우에 나는 from "support team <[email protected]>"from "\"support team\" <[email protected]>"을 쓴하지만 SMTP 서버는이 레일은 괄호로 문자열 "에서"전체두고 있다는 것을 의미

#<Net::SMTPSyntaxError: 501 <support team <[email protected]>>: "@" or "." expected after "support" 

을 말한다. 어떻게 monkeypatching없이 이것을 고칠 수 있습니까?

+1

어떤 버전을 사용해? 귀하가 https://rails.lighthouseapp.com/projects/8994/tickets/2340/ https://rails.lighthouseapp.com/projects/8994/tickets/3078-actionmailer-233- smake-display-name-support-in-use-smtp – mikej

답변