Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [[!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.`
- ]]
- [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 получателя.
- class myMailer extends PHPMailer
- {
- public static function validateAddress($address, $patternselect = 'php')
- {
- return parent::validateAddress($address, $patternselect);
- }
- }
Add Comment
Please, Sign In to add comment