Forums

Really Strange Could not instantiate mail function Error

superdmon 18 Jan, 2013
Joomla 2.5.8
Chronoforms V4 RC3.0

I've read quite of few of these error reports in this forum and I have quite a unique one.
I have a general contact form with the usual stuff on it, name, address, etc... and below I have some checkboxes where users can request information. Refer to this as Form#1.

I then duplicated this form for to create a version without the checkboxes. Refer to this as Form#2.

When I go to submit Form#1 I get the dreaded "Could not instantiate mail function" No mail is ever received or sent (to my knowledge). When I submit Form#2, it goes through fine with no errors!

Obviously my PHP Mail function is working because the second form works and I can even send emails through the Joomla Admin system. Anyone have any clue? Did you need me to send some code or is there anything I could check?

Thanks,

Charles
GreyHead 19 Jan, 2013
Hi Charles,

Please drag a Debugger action into the On Submit event, then submit the form and post the debug - including the 'dummy emails' results here.

Note: if you are using the Easy Wizard you can turn on Debug on the Others tab.

Bob
plus91anand 22 Jan, 2013
I am also facing a similar issue.
Using Joomla 3.0.2 and Chronoform 4.0 RC3.5.2.5

I am getting error Could not instantiate mail function. while email from other sections in joomla is working fine.
I tried to debug it by digging into \libraries\phpmailer\phpmailer.php it seems like Reply-To in headers doesn't have any email address.

I had attached the snapshot of headers, chronoform debugger result and also my form email settings.
GreyHead 22 Jan, 2013
Hi plus91anand,

What are the settings for the Email in the site Global Configuration?

Bob
plus91anand 22 Jan, 2013
Email settings in configuration is set to send mail through SMTP and it is working fine as i am getting Joomla registration and forgot password emails.

I never had such problem with chronoforms. It's my first time to use it with Joomla 3.x, not sure if it has something to do with this one.
GreyHead 22 Jan, 2013
Hi plus91anand,

And what exactly are the settings? Please PM or email me if you prefer not to put a screenshot here.

Bob
This topic is locked and no more replies can be posted.