Viewing 13 posts - 16 through 28 (of 28 total)
  • Author
    Posts
  • miciba Friend
    #888391
    This reply has been marked as private.
    Saguaros Moderator
    #888868

    Could you try to take a backup of your site, download the latest version of this JA Quickcontact module and install into your site again?

    I also install JA Onepage at my end but the mail function still works properly. And many of our clients don’t face this issue.

    miciba Friend
    #889707

    I did this –

    1. backup, install over: "Could not instantiate mail function."
    2. uninstall quickcontact, clear cache, install new: "Could not instantiate mail function."

    Same problem as before!
    Isn’t that horrible?
    But I don’t want to relinquish!

    Saguaros Moderator
    #890645
    This reply has been marked as private.
    Saguaros Moderator
    #890786

    You can try with this tweak:

    • Go to file: ROOT/modules/mod_jaquickcontact/mod_jaquickcontact.php

    • Look for this snippet of code:
    $recipient = $params->get('recipient', $adminemail);
    $recipient = preg_split("/[\s]*[,][\s]*/", $recipient);
    $mail = JFactory::getMailer();
    $mail->addRecipient($recipient);    
    
    if ($params->get('show_email_copy', 0) && ($email_copy == 1)) {
        $mail->addRecipient($email);
    }

    Change it to:

    
    $mail = JFactory::getMailer();
    if ($params->get('show_email_copy', 0) && ($email_copy == 1)) {
        $mail->addRecipient($email);
    }

    Take always a backup first before making changes.

    miciba Friend
    #898383

    No, it doesn’t work: Could not instantiate mail function.

    Sorry for the late feedback, I was two weeks on a training.

    Saguaros Moderator
    #899466

    Let me check again and see what’s wrong here.

    Saguaros Moderator
    #901687

    Could you send me the FTP account for a closer look? as I can’t replicate the issue at my end.

    miciba Friend
    #901783
    This reply has been marked as private.
    Ninja Lead Moderator
    #903289

    It’s very strange with the problem on your site, please give me sometimes to check this bug

    Ninja Lead Moderator
    #903751

    I solved this bug directly on your site. Please check it again, let me know if it helps

    miciba Friend
    #907436

    No, it still don’t work.

    "Could not instantiate mail function."

    Ninja Lead Moderator
    #907807

    @miciba: Kindly a look at my screenshot, you can see the Kontakt form is working as well, you can try to clear cache of your browser and test it again


    1. Screen-Shot-2016-04-01-at-11.47.44
Viewing 13 posts - 16 through 28 (of 28 total)

This topic contains 27 replies, has 3 voices, and was last updated by  Ninja Lead 8 years, 1 month ago.

We moved to new unified forum. Please post all new support queries in our New Forum