現在位置: ホーム ブログ Plone4のメールスクリプトの状況
ブログ

Plone4のメールスクリプトの状況

昨日の金曜まででPlone4の基本開発が終了し、各ブランチからマージされました。現在はαバージョン前のテスト中です。

Plone3及びその以前から問題となっていました、日本語(他のマルチバイト言語も)メールの文字化け問題がどの様になっているか調査をしました。なお、Plone4からSecureSendがZope3ベースの物に置き換わりました。しかし、下記の問題は以前として残っています。(この後、バグトラッカーに投稿しようと思います)


アカウント登録 (自身で登録・管理者が登録(同スクリプト))
    スクリプト所在: Products.CMFPlone.RegistrationTool.RegistrationTool.registeredNotify
    テンプレート所在: Products.PasswordResetTool.skins.PasswordReset.registered_notify_template.pt
    方式: テンプレートにFromなどが書かれている(旧来からSecureSend不使用)
    ソース: host.send(mail_text.encode(encoding))
    判定: 修正要

パスワード忘れ
    スクリプト所在: Products.CMFPlone.RegistrationTool.RegistrationTool.mailPassword
    テンプレート所在: Products.PasswordResetTool.skins.PasswordReset.mail_password_template.pt
    方式: テンプレートにFromなどが書かれている(旧来からSecureSend不使用)
    ソース: host.send( mail_text )
    判定: 修正要

サイトフィードバック(連絡フォーム)
    スクリプト所在: Products.CMFPlone.skins.plone_form_scripts.send_feedback_site.cpy
    テンプレート所在: Products.CMFPlone.skins.plone_template.site_feedback_template.pt
    方式: 新方式(Zope3ベースのsendを使用)
    ソース:
    result = host.send(message, send_to_address, envelope_from,
                       subject=subject, charset=encoding)
    判定: 問題なし

作者へフィードバック
    スクリプト所在: Products.CMFPlone.skins.plone_form_scripts.send_feedback.cpy
    テンプレート所在: Products.CMFPlone.skins.plone_template.author_feedback_template.pt
    方式: 新方式(Zope3ベースのsendを使用)
    ソース:
    result = host.send(message, send_to_address, envelope_from,
                       subject=subject, charset=encoding)
    判定: 問題なし

これを送る(Send This)
    スクリプト所在: Products.CMFPlone.PloneTool.PloneTool.sendto
    テンプレート所在: Products.CMFPlone.skins.plone_template.sendto_template.pt
    方式: 新方式(Zope3ベースのsendを使用)
    ソース:
    result = host.send(message, mto=send_to_address,
                       mfrom=envelope_from, subject=subject,
                       charset=self.getSiteEncoding())
    判定: 問題なし

コンテンツルールアクション
    スクリプト所在: plone.app.contentrules.actions.mail.MailActionExecutor
    テンプレート所在
    方式: 新方式(Zope3ベースのsendを使用)
    ソース:
    mailhost.send(message, email_recipient, source,
                  subject=subject, charset=email_charset)
    判定: 問題なし

comments powered by Disqus