Hi,
I’ve been trying to get FormIt working for the past week or so. I have trawled the web looking for various guides, and using modx’s documentation as well and Modx’s Forums.
I’m running Modx Revolution 2.0.2 pl
Server Info
Linux 5.3.2
MySQL version 5.0.91-community
Apache version 2.2.15
PHP version 5.3.2
Browsers:
Firefox 3.6.8
Safari 5.0
I have checked that the mail() is switched on, I used a simple php mail function I found on the Modx forums. So I was able to receive mail from that function but no the FormIt function.
I currently have the code for the form sitting in my page template.
Hi Kersten,
It didn’t work, so back to the drawing board. Does my hosting environment need any particular settings in order for Formit to work?
John
Hi John,
I had the same problem like you. After turning on and off some setting, it works. I don’t know why. I would have been surprised if my suggestion really works for you...but this was one of the setting I changed...
It seems that the whole FormIt is really buggy or parts of modx are so. After getting the mail sent, I have know problems with the redirection. It’s just a pity that no one of the developers give a hint...
Kersten
If all you need is a simple contact form, you could try SPForm, which generally works right out of the box if mail() is turned on.
Otherwise, the best way to get FormIt to work is to follow this tutorial exactly:
http://rtfm.modx.com/display/ADDON/FormIt.Example+1+-+Contact+Page
Then, once it’s working, modify it to meet your needs.
I’m afraid I’m no help here because I always use the SMTP system settings and send through Gmail. You could try that.
Thanks BobRay.
Anyway I made the gmail work by clearing the carriage returns. But no lock with server mail function yet.
Quote from: dragona at Oct 08, 2010, 12:31 AM
Thanks BobRay.
Anyway I made the gmail work by clearing the carriage returns. But no lock with server mail function yet.
Glad you got something working. That suggests that your code is all OK now, so you may be dealing with a bug in FormIt.
Hopefully, someone else with a server that has mail() enabled will check.