Dropdown email : Error message

How to fix a ChronoForms dropdown email error and email sending failure.

Overview

The issue is caused by an advanced template parsing setting and an empty email field in Joomla's server configuration.
First, disable the 'Apply advanced template parsing and style' option in CF to resolve the initial error. Then, ensure the email field in your Joomla server settings is properly configured to allow the form to send successfully.

Answered
ChronoForms v6
ar artgrafik 20 Apr, 2020
Hi,

I try to let choice for email receiver from a dropdown list. I follow CF6 F.A.Q but I have an error message :
Do you have an idea please?[h1]0[/h1]
DOMXPATH::QUERY(): INVALID EXPRESSION IN SELECTOR >> BODY << IN /VAR/WWW/VHOSTS/DEV3-ARTGRAFIK.COM/HTTPDOCS/LIBRARIES/CEGCORE2/VENDORS/EMOGRIFIER/EMOGRIFIER.PHP ON LINE 371
---

My Settings :

DESIGN / EMAIL :
Name : user_email

Options :
mail1@me.fr=Pro
mail2@me.fr=Perso

SETTINGS MAIL :

Switch:
Data provider : {data:user_email}

Values settings :
Pro:mail1@me.fr
Perso:mail2@me.fr


And I Have this error message from my Joomla 3 dev website :
You can try here :
ar artgrafik 20 Apr, 2020
Ok,

I uncheck "Apply advanced template parsing and style" and error message is gone.
But my form couldn't be receive.
Thank you
Array
(
    [chronoform] => contact
    [event] => submit
    [nom] => test
    [prenom] => test
    [email] => test@test.fr
    [phone] => 1234564
    [objet] => test
    [message] => test
    [file1] => 
    [user_email] => myadress@live.fr
    [button3] => 
    [Itemid] => 468
    [option] => com_content
    [view] => category
    [layout] => blog
    [id] => 31
    [contact] => 
)
Array
(
    [upload2] => Array
        (
            [path] => /var/www/vhosts/dev3-artgrafik.com/httpdocs/components/com_chronoforms6/chronoforms/uploads/
            [file1] => Array
                (
                    [extensions] => Array
                        (
                            [0] => txt
                            [1] => pdf
                            [2] => doc
                            [3] => docx
                            [4] => png
                            [5] => jpg
                            [6] => JPG
                            [7] => jpeg
                        )

                    [info] => File is not present.
                )

            [var] => Array
                (
                )

        )

    [switch10] => Array
        (
            [finished] => 1
            [var] => 
        )

    [email3] => Array
        (
            [recipients] => Array
                (
                    [0] => myadress@live.fr
                )

            [subject] => test
            [body] => <table width="100%" cellpadding="5" cellspacing="3" border="0" class="ui table"><tr><td width="30%" valign="top" align="right"><strong></strong></td><td width="70%" valign="top" align="left">test</td></tr><tr><td width="30%" valign="top" align="right"><strong></strong></td><td width="70%" valign="top" align="left">test</td></tr><tr><td width="30%" valign="top" align="right"><strong></strong></td><td width="70%" valign="top" align="left">test@test.fr</td></tr><tr><td width="30%" valign="top" align="right"><strong></strong></td><td width="70%" valign="top" align="left">1234564</td></tr><tr><td width="30%" valign="top" align="right"><strong></strong></td><td width="70%" valign="top" align="left">test</td></tr><tr><td width="30%" valign="top" align="right"><strong></strong></td><td width="70%" valign="top" align="left">test</td></tr><tr><td width="30%" valign="top" align="right"><strong>Pièce Jointe</strong></td><td width="70%" valign="top" align="left"></td></tr><tr><td width="30%" valign="top" align="right"><strong>Destinataire</strong></td><td width="70%" valign="top" align="left">Perso</td></tr></table>
            [reply_name] => test
            [reply_email] => test@test.fr
            [result] => the Mail could not be sent.
            [var] => 
        )

)
Max_admin Max_admin 20 Apr, 2020
Please remove the Reply name and email, does it help ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
ar artgrafik 20 Apr, 2020
Hi admin;

I have deleted Reply Name and Reply Email but it's the same issue...
he healyhatman 22 Apr, 2020
Can you send emails through your site usually?
Max_admin Max_admin 30 Apr, 2020
If the Joomla test email works then make sure the Email sent by Chronoforms has the same stetings, recipient, from name/email..etc
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
ar artgrafik 12 May, 2020
Answer
1 Likes
It works. Issue was email field was empty from Joomla Server Settings.
Thank you
This topic is locked and no more replies can be posted.