When the form is submitted, it errors: "Could not instantiate mail function."
I have read over the forums, and looked at what others have said about it. I can send emails from Joomla (Mass Mail functionality), and I have the Send From address match up with that of the Chronoform. Is there anything further I can look into, or test?
Thanks in advance for anyones assistance!
Joomla! Version | Joomla! 3.0.4 Stable [ Ember ] 24-April-2013 14:00 GMT
Chronoform Version | Version 4.0
The Joomla debugger lists;
Could not instantiate mail function.
Call stack
# Function Location
1 JSite->dispatch() JROOT/index.php:52
2 JComponentHelper::renderComponent() JROOT/includes/application.php:218
3 JComponentHelper::executeComponent() JROOT/libraries/legacy/component/helper.php:339
4 require_once() JROOT/libraries/legacy/component/helper.php:359
5 process() JROOT/components/com_chronoforms/chronoforms.php:96
6 CFChronoForm->process() JROOT/components/com_chronoforms/chronoforms.php:107
7 CFChronoForm->_processEvents() JROOT/components/com_chronoforms/libraries/chronoform.php:237
8 CFChronoForm->_processAction() JROOT/components/com_chronoforms/libraries/chronoform.php:262
9 CFChronoForm->runAction() JROOT/components/com_chronoforms/libraries/chronoform.php:287
10 CfactionEmail->run() JROOT/components/com_chronoforms/libraries/chronoform.php:312
11 JMail->sendMail() JROOT/administrator/components/com_chronoforms/form_actions/email/email.php:217
12 JMail->Send() JROOT/libraries/joomla/mail/mail.php:476
13 JError::raiseNotice() JROOT/libraries/joomla/mail/mail.php:95
14 JError::raise() JROOT/libraries/legacy/error/error.php:289
Hi Bob,
Thanks for your reply.
I have had a look at the FAQ, and headed down the path of the GH email action. This installed correctly (from what I can tell), however I am not noticing any difference or what I should be doing with this update that will make the Chronoform emails work.
Do you have another webpage you can point me to more information please?
I really appreciate your assistance. Thanks.
Kindest regards,
Todd
Hi tdhfox21,
You'd need to add the action to your form in place of the standard Email action. Have you done that?
Bob
Good afternoon Bob,
I have removed the old email events (defaults), and added in yours just underneath the event "DB Save". I have added in the details to all the associated tabs, and I can see that your event is definitely being called as when I submit the form I can see the details I entered into the action being displayed.
The end error is still "Could not instantiate mail function."
---
General Tab
Enabled=True
Condition=null
Action Label="Email submit"
Send individual emails=null
Check MX record=True
File attachments=null
IP=True
Filter=True
EMail Setup Tab
[email]To=just_an_account@hotmail.com[/email]
Subject=Form submit
The rest is left as defaults
Debug Data
1. Email info
Email failed
Could not instantiate mail function.
From: (Admin at our website) info@ our website
To: [email]just_an_account@hotmail.com[/email]
Subject: Form submit
---
Is there any other tests I can do, or further documentation I can run through?
Appreciate your assistance!🙂
Cheers,
Todd
Hi Todd,
I think all the other suggestions are in the FAQ I linked to. You could also check with your web host to see if they have any suggestions.
Bob
Hi Todd,
Thanks for that - I hadn't seen it. I've added a link to that thread to the FAQ here.
Bob