[[+content_image]]
K
K
knowledge2018-12-21 12:17:15
MODX
knowledge, 2018-12-21 12:17:15

How to send emails in modx format?

Installed formit, ajaxForm
Did according to manuals
[[!AjaxForm?
&snippet=`FormIt`
&form=`callbackForm`
&emailTpl=`callbackEmail`
&hooks=`spam,email`
&emailSubject=`Ordering a callback from http://askmeplz.com/`
&emailTo=`****@mail.ru`
&validate=`name:required,phone:required`
&validationErrorMessage=`There are errors in the form!`
&successMessage=`Message sent successfully!`
]]
No emails received, logs error formit 303 invalid email address format

Answer the question

In order to leave comments, you need to log in

[[+comments_count]] answer(s)
A
Anton Tarasov, 2018-12-21
@an-tar

Check the spelling of the email. If it's true, try just in case QuickEmailwith debug turned on, so it will send without errors?

S
Sanes, 2018-12-21
@Sanes

Check mail settings and dns. If it is crookedly configured, then mail.ru will not even let you go to spam.
https://www.mail-tester.com/

K
knowledge, 2018-12-28
@knowledge

Thanks, I decided, quickemail is much more informative than the log, there were problems with the smtp settings

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question