メールのformatをhtmlに
- » binbin > メールのformatをhtmlに @ 2017/11/7 19:44
- akillerbee > Re: メールのformatをhtmlに @ 2017/11/8 12:27
- binbin > Re: メールのformatをhtmlに @ 2017/11/8 13:46
- binbin > Re: メールのformatをhtmlに @ 2017/11/8 19:58
- binbin > Re: メールのformatをhtmlに @ 2017/11/9 12:58
binbin > メールのformatをhtmlに @ 2017/11/7 19:44 |
---|
メールフォームプラグインのformatを、textからhtmlにするにはどうするのが良いでしょうか?
できればコアはいじらない方向で。 BcAppControllerのsendMailを継承して、$options['format']を書き換え。 BcAppControllerのsendMailを、BcAppControllerを継承したAppControllerにまるごとコピーして書き換え。 などやってみたのですが、エラーで送信されなかったり、エラーも出さずに送信されなかったり、 エラー内容もfalseだけだったりして、心が折れてしまいました。 ヒントだけでも結構ですので、どなたか助けてください。 baserCMS 3.0.15 CentOS Linux release 7.2.1511 (Core) Apache/2.4.6 mysql Ver 15.1 Distrib 5.5.52-MariaDB PHP 5.6.31 (cli) |