Page 1 of 1
simpleform plugin "Technical error. Mail is not sent!"
Posted: Fri Aug 14, 2015 4:33 pm
by suzessex
Help! I've just set up a page using the simpleform plugin for an easy email enquiry form.
http://bath-choral-society.org.uk/index ... ckets-form
I've checked the stylesheet, the template, and the tags I've used (see below)
Code: Select all
{simpleform sendto='suzessex@hotmail.com' subject='Tickets Enquiry'}
I've changed the email that it's trying to send to, I've changed the subject, I've taken out the captcha bit that I was trying to use initially. Whatever I do, I still get the error message. What is going on??? Have I done something completely stupid?
Re: simpleform plugin "Technical error. Mail is not sent!"
Posted: Fri Aug 14, 2015 7:27 pm
by Dr.CSS
It helps to post your system info on the first thread...
That said, did you set up the CMSMailer and test it..?
Re: simpleform plugin "Technical error. Mail is not sent!"
Posted: Fri Aug 14, 2015 8:19 pm
by suzessex
Good point, see below. Er ...CMSMailer is installed but I've never used it ?
----------------------------------------------
Cms Version: 1.11.10
Installed Modules:
CMSMailer: 5.2.2
FileManager: 1.4.4
MenuManager: 1.8.5
ModuleManager: 1.5.5
News: 2.14.2
Printing: 0.2.6
Search: 1.7.11
ThemeManager: 1.1.8
FrontEndUsers: 1.24
Captcha: 0.5.2
CustomContent: 1.10
CMSPrinting: 1.0.5
MicroTiny: 1.2.6
CGExtensions: 1.41.2
Gallery: 2.0.2
Config Information:
php_memory_limit:
process_whole_template:
max_upload_size: 2000000
url_rewriting: none
page_extension:
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true
Php Information:
phpversion: 5.3.27
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
E_DEPRECATED: 8192
memory_limit: 32M
max_execution_time: 30
output_buffering: On
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 8M
upload_max_filesize: 2M
session_save_path: No check because open basedir active
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)
Server Information:
Server Api: cgi-fcgi
Server Db Type: MySQL (mysqli)
Server Db Version: 5.1.73
Server Db Grants: Could not find a suitable "GRANT ALL" permission. This may mean you could have problems installing or removing modules. Or even adding and deleting items, including pages
Server Time Diff: No filesystem time difference found
----------------------------------------------
Re: simpleform plugin "Technical error. Mail is not sent!"
Posted: Fri Aug 14, 2015 9:31 pm
by Rolf
The simpleform tags uses the servers PHP mail function. I think that is failing at your site...
Perhaps cms_mailer test also fails.
Pa. Check your error logs, might be even mod_security kicking in
Re: simpleform plugin "Technical error. Mail is not sent!"
Posted: Sat Aug 15, 2015 4:17 pm
by suzessex
I really don't know what's happening. CMSMailer is installed, and someone appears to have set it up. I didn't create the website initially, so I don't know if the CMSMailer settings are correct. As you might have guessed, I have no formal training, and I run the website in my spare time. I've looked for help from cPanel, and also from the web host, but I can't find anything about CMSMailer.
The host is is webhosting UK, but the set up is cPanel.
I've included a screen grab of the CMSMailer current settings...
Any further help much appreciated.
Re: simpleform plugin "Technical error. Mail is not sent!"
Posted: Sat Aug 15, 2015 9:15 pm
by Rolf
Create a User Defined Tag named "is_mail_available" with the content
Code: Select all
if (function_exists('mail')) {
echo "Mail function is available";
} else {
echo "Mail function is not available";
}
Put in a new page the tag {is_mail_available} and open that page in your webbrowser
Re: simpleform plugin "Technical error. Mail is not sent!"
Posted: Sun Aug 16, 2015 3:26 pm
by suzessex
Ok, just did as described. It returned 'Mail function is not available'
At least I know that now. But of course I don't know what to do about it??
Thanks for the help - any more ideas?
Re: simpleform plugin "Technical error. Mail is not sent!"
Posted: Sun Aug 16, 2015 9:41 pm
by Rolf
You better contact your webhost and them to check the server settings. When they change it try the UDT again.