1
Modx Revolution中的電子郵件發送有問題。使用FormIt插件,我嘗試在Modx設置列表中啓用Gmail SMTP,但結果相同。現在SMTP被禁用。ModX Revolution通過FormIt發送電子郵件時遇到困難
使用此FormIt電話:
[[!FormIt?
&hooks=`email,redirect`
&redirectTo=`19`
&redirectParams=`{"success":"1"}`
&emailTpl=`feedbackEmailTpl`
&emailSubject=`New request from [[++site_name]]`
&emailTo=`***@gmail.com`
&emailToName=`Support`
&emailReplyTo=`***@gmail.com`
&emailFrom=`***@gmail.com`
&emailFromName=`***@gmail.com`
&errTpl=`<span class="label label-warning">[[+error]]</span>`
&validate=`
name:required:stripTags,
clientemail:email:required,
message:required:stripTags
`
&clearFieldsOnSuccess=`1`
&validationErrorMessage=`Error.`
]]
在error.log中的文件:
[2015-06-02 10:33:37] (ERROR @ /var/www/site/core/model/modx/mail/phpmailer/class.phpmailer.php : 893) PHP warning: preg_match(): Compilation failed: internal error: previously-checked referenced subpattern not found at offset 728
[2015-06-02 10:33:37] (ERROR @ /var/www/site/core/model/modx/mail/phpmailer/class.phpmailer.php : 893) PHP warning: preg_match(): Compilation failed: internal error: previously-checked referenced subpattern not found at offset 728
[2015-06-02 10:33:37] (ERROR @ /index.php) [FormIt] Произошла ошибка при попытке отправить почту. Пожалуйста, введите хотя бы один адрес e-mail получателя.
什麼可能是錯誤的?這個麻煩綁定到PHPMailer上嗎?