-
- 206 Posts
Someone has experience with formit?
I just installed it with Catcha.
While I filled up the fileds and send it, I got that error message
An error occurred while trying to send the email. Could not instantiate mail function.
It's a bit funny because if I use the function mail() in a snipet, it works.
Some one has a idea how I can configure Formit or SMTP section?
Thanks cheers
-
- 194 Posts
What is your FormIt call? Sometimes a typo can cause such an error.
Codeplaza Webdesign: for professional websites at low cost
-
- 206 Posts
My code is withn a chunk. Should it in a snipest?
-
- 194 Posts
No, using a chunk to call FormIt is fine! Did you already try to use an chunk as template for &emailTpl?
Codeplaza Webdesign: for professional websites at low cost
-
- 24,544 Posts
To use SMTP, just set the SMTP System Settings (put smtp in the search filter box at the upper right of the System Settings grid). Once the settings are correct, FormIt, and any other email in MODX, will use SMTP automatically.
I would also turn off Captcha until you get the email working, in case it's the problem.
You might install the QuickEmail extra to help you diagnose any email problems.
-
- 194 Posts
Just to be sure. Try to set the &emailTo to a valid and existing email. And also as Bob mentioned drop the math-hook.
Codeplaza Webdesign: for professional websites at low cost
-
- 206 Posts
Well done!!!
It's work fine since I use SMTP
Thank for your help
-
- 206 Posts
Hello.
I would like to know if there is a way to have a chunk which will be use to send an confirmation to the sender/person who filled up the form.
As &emailTpl=`emailTpl`, but one for the confirmation?