- edited description
webform + smtp 설정
Issue #35
resolved
mimemail 을 끄면 전송 성공하는데, 켜면 전송 실패함
- http://drupal.org/node/66711 mimemail + smtp
- http://my.safaribooksonline.com/book/web-development/drupal/9781849516488/sending-html-e-mails/id286762662 webform + mimemail
details
- webform은 http://api.drupal.org/api/drupal/includes!mail.inc/function/drupal_mail/7 을 통해 메일을 전송. (module=webform, key=submission)
- drupal_mail()은 주어진 module/key로 적절한 MailSystem을 검색, format()후 mail(). 별다른 설정이 없다면 system-default 가 선택
- mimemail을 설치하면 기본으로 system-default이 MimeMailSystem으로 설정됨
- MimeMailSystem의 mail()은 php mail()을 사용
- 우리가 원하는 건 MimeMailSystem::format() + SmtpMailSystem::mail()
- MailSystem의 관리자 설정 인터페이스에서 둘을 조합한 새 클래스를 생성가능하나 (files/mailsystem/MimeMailSystem__SmtpMailSystem.mail.inc), require_once() 에러가 발생
Comments (7)
-
reporter -
reporter - edited description
-
reporter - edited description
-
reporter - edited description
-
reporter - edited description
-
reporter - edited description
-
reporter - changed status to resolved
add MimeMailSystem + SmtpMailSystem for default/webform (close
#35)→ <<cset e0f2bbe620ab>>
- Log in to comment