Forums

[Solved] "Could not initiate mail function."

JonasPrimdahl 12 Sep, 2011
Hi

I have a problem with ChronoForms (v.4 rc2 in jommla 1.6).

After I setup the form (look below), I get the error "Could not initiate mail function" which means that I don't get the email as planned.

Under global conf. I use PHPmail.

I hope that somebody can help me :-)

Sample code: (just a single field)

<div class="ccms_form_element cfdiv_text" id="navn__container_div"><label>Navn:</label><input maxlength="150" size="30" class="" title="" label_over="0" hide_label="0" type="text" value="" name="input_text_0" />
<div class="clear"></div><div id="error-message-input_text_0"></div></div><div class="ccms_form_element cfdiv_submit" id="input_submit_1_container_div"><input name="input_submit_1" class="" value="Tilmeld" type="submit" />
<div class="clear"></div><div id="error-message-input_submit_1"></div></div>
GreyHead 15 Sep, 2011
Hi JonasPrimdahl ,

Please check that your site can send emails - I usually check with the 'Email a friend' link on an article page.

Bob
erikg 18 Sep, 2011
I have the exact same problem with Joomla 1.5.23.

I have checked that I can send emails from Joomla's "Send to a friend" function, but I get the Could initiate email function with Chrono Forms??

PS. Chrono Forms is simply a great piece of software - Once I manage to have it to send the emails :-)
GreyHead 18 Sep, 2011
Hi erikg,

Please take a Form Backup using the icon in the Forms Manager and post it here (as a zipped file) or PM or email it to me and I'll take a closer look.

Bob
erikg 19 Sep, 2011
Here is the back-up file. Hope that you can see what went wrong.

Best regards,

Erik
GreyHead 19 Sep, 2011
Hi Erik,

The To Email address has a comma in it eg[at]q4[comma]dk

I think that is most of the problem. You also have a Reply To email with no Reply To name but as it's the same as the From Email you can just remove it.

Bob
erikg 19 Sep, 2011
That was so embarrassing. Sorry to have taken your time with such a stupid error on my part.

What can I say? I am truly sorry and embarrassed. But obviously I could not see the error.

Thank you for a great piece of software and fantastic support.
GreyHead 20 Sep, 2011
Hi Erik,

No problem, those things can be the hardest to spot just because you don't expect them. It was only because I added ,my@emailaddress after it that I spotted that there were two commas.

Bob
JonasPrimdahl 07 Oct, 2011
Hi

The "email a friend" feature works fine.

Jonas
GreyHead 07 Oct, 2011
Hi Jonas,

Please drag a DeBugger action into the OnSubmit event. Submit the form and post the resulting debug output here.

Bob
JonasPrimdahl 10 Oct, 2011
Hi

It just started working :-) I get no error, when I test the form, and I recive a email :-)

Maybe my host (one.com) changed something, because I haven't made any changes.
This topic is locked and no more replies can be posted.