• Hello

    I have to use to send email address that does not belong to the site domain.
    In version 5.9.7 every thing work ok.

    I uses form CF7 documentation
    I understand the importance of validating configuration, but I have compelling reasons to avoid it. Is it possible to disable the configuration validator?

    “You can disable the configuration validator by adding:
    define( 'WPCF7_VALIDATE_CONFIGURATION', false );

    to your wp-config.php, or adding:
    add_filter( 'wpcf7_validate_configuration', '__return_false');

    to your theme’s functions.php.”

    link: https://contactform7.com/configuration-validator-faq/#from-email-in-site-domain

    After update CF7 do latest version CF7 v6.0 this not work (I use WP mail SMPT)
    After update I can’t sent email address that does not belong or
    add_filter( 'wpcf7_validate_configuration', '__return_false');
    define( 'WPCF7_VALIDATE_CONFIGURATION', false );
    generates an error in js console “TypeError: undefined is not an object (evaluating ‘wpcf7.configValidator.errors’)” This error is visible in the console when editing the form.

    What can I do to send a CF7 email using an address from another domain, as before?

    Best regards

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    Where can we see the website in question?

    Thread Starter Marcin Jó?wiak

    (@dragonesti)

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    See Editing form template

    What content do you have in the Form tab panel?

    Thread Starter Marcin Jó?wiak

    (@dragonesti)

    Hello

    I have the same error in every form.
    This form tab panel
    —-

    Zg?aszaj?cy


    [select* field-your-addressee include_blank

    "Klient indywidualny | [email protected]"

    "Firma / Przedsi?biorca | [email protected]"]

    [group group-rodzaj-kontenera-klient-indywidualny]

    <label>Rodzaj kontenera
    (kontenery 5, 7 i 12 m3 podstawiany na czas za?adunku na 3 dni robocze)</label>

    [select* field-container-type-ind include_blank

    "Worek Big Bag 1m3 (tylko odbiór osobisty)"

    "Kontener 5m3"

    "Kontener 7m3"]

    [/group]



    [group group-rodzaj-kontenera-firma]

    <label>Rodzaj kontenera</label>

    [select* field-container-type-company include_blank

    "Worek Big Bag 1m3 (tylko odbiór osobisty)"

    "Kontener 5m3"

    "Kontener 7m3"

    "Kontener 12m3"]

    [/group]



    [group group-bigbag-rodzaj-odp-indywidualny]

    <label>Zadeklarowany rodzaj odpadu*</label>

    [radio field-rodzaj-odpadu-bigbag-indywidualny class:required "czysty gruz 17 01 01" "odpady poremontowe 17 09 04"]

    [/group]



    [group group-bigbag-rodzaj-odp-firma]

    <label>Zadeklarowany rodzaj odpadu*</label>

    [radio field-rodzaj-odpadu-bigbag-firma class:required "czysty gruz 17 01 01" "odpady poremontowe 17 09 04"]

    [/group]

    [group group-kontener-rodzaj-odp-indywidualny]

    <label>Zadeklarowany rodzaj odpadu*</label>

    [radio field-rodzaj-odpadu-kontener-indywidualny class:required "czysty gruz 17 01 01" "odpady poremontowe 17 09 04" "odpady wielkogabarytowe 20 03 07"]

    [/group]



    [group group-kontener-rodzaj-odp-firma]

    <label>Zadeklarowany rodzaj odpadu*</label>

    [radio field-rodzaj-odpadu-kontener-firma class:required "czysty gruz 17 01 01" "odpady poremontowe 17 09 04" "odpady wielkogabarytowe 20 03 07"]

    [/group]

    Ilo??

    [number field-ilosc min:1 max:2 class:required placeholder"1"]

    Imi? i nazwisko lub nazwa firmy

    [text field-name class:required minlength:5 placeholder"Imi? i nazwisko / nazwa firmy"]

    Email*


    [email* field-email placeholder"Adres email do kontaktu"]

    Numer telefonu*


    [number* field-nr-tel class:phone-form class:required placeholder"Podaj numer kontaktowy"]

    [group group-pesel]

    <label>PESEL* </label>

    [text* field-pesel minlength:11 maxlength:11 class:required placeholder"Osoba prywatna - PESEL - 11 cyfr"]

    [/group]



    [group group-bdo]

    <label>NIP* </label>

    [text* field-nip minlength:5 class:required placeholder"Zamówienie na firm? - NIP"]

    <label>Numer BDO (Je?li jeste? osob? prywatn?, b?d? jeste? zwolniony z BDO wype?nij formularz (osoba prywatna lub formularz firma zwolniona z BDO) i ode?lij na adres e-mail: [email protected], o?wiadczenie jest konieczne do zrealizowania odbioru odpadów)</label>

    [text
    field-bdo minlength:9 maxlength:9 class:bdo-form class:required placeholder"Podaj twój firmowy, 9 cyfrowy numer BDO"]


    [/group]



    Adres zamawiaj?cegoMiasto*

    [text* field-adres-miasto-zamawiajacego class:required minlength:3 placeholder"Miasto"]

    ulica*

    [text* field-adres-ulica-zamawiajacego class:required minlength:3 placeholder"Ulica"]

    nr*

    [text* field-adres-ulica-nr-zamawiajacego class:required minlength:1 placeholder"Nr"]

    kod*

    [text* field-adres-kod-zamawiajacego class:required placeholder"Kod pocztowy 5 cyfr"]

    [checkbox adress-dostarczenia-777 use_label_element exclusive "Adres dostarczenie kontenera inny ni? zamawiaj?cego"]

    [group group-adress-kontenera]

    <label>Adres dostarczenia kontenera/odbioru kontenera lub odbioru worka BIG BAG</label>
    <label>Miasto* </label>
    [text* field-adres-miasto-odbioru class:required minlength:3 placeholder"Miasto"]

    <label>ulica* </label>
    [text* field-adres-ulica-odbioru class:required minlength:3 placeholder"Ulica"]

    <label>nr* </label>
    [text* field-adres-ulica-nr-odbioru class:required minlength:1 placeholder"Nr"]

    <label>kod* </label>
    [text* field-adres-kod-odbioru class:required placeholder"Kod pocztowy 5 cyfr"]


    [/group]



    [group group-calendar]

    <label>
    Termin dostarczenia (Kontenery podstawiamy i odbieramy w dni pracuj?ce)</label>

    [text
    field-date id:calendar1 class:calendar-class placeholder"Wybierz dat?"]

    [/group]



    Dodatkowe informacje

    [textarea field-message]

    [acceptance acceptance-991 class:required]<span class="cf7-agree-desc">Zgadzam si? na przechowywanie i przetwarzanie moich danych przez REMONDIS MPGO Sosnowiec Sp. z o.o. oraz przez REMONDIS Sp. z o.o. Zamawiaj?cy zapozna? si? i akceptuje informacj? z za??cznika RODO*</span>
    [/acceptance]

    [acceptance acceptance-992 class:required] <span class="cf7-agree-desc">
    Akceptuj? przedstawiony na stronie cennik i regulamin* </span>
    [/acceptance]

    * wymagane
    [submit "> Wy?lij"]


    I Create new test one code bellow (same error)

    Twoje imi? i nazwisko [text* your-name autocomplete:name]

    Twój adres e-mail [email* your-email autocomplete:email]

    Moja data

    [text* date-586 id:calendar1 class:calendar-class placeholder”Wybierz dat?” ]

    Temat [text* your-subject]

    Twoja wiadomo?ci (opcjonalne) [textarea your-message]

    [submit “Wy?lij”]

    I use in wp-confing.php
    define( ‘WPCF7_VALIDATE_CONFIGURATION’, false );

    Link to images
    https://www.dropbox.com/scl/fi/geuu44nq08zonpjmrok5d/Zrzut-ekranu-2024-11-14-o-12.04.25.png?rlkey=ak84txfh3jr2kuqtf80ftxtht&dl=0

    Best regards

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    What other plugins and theme do you use on the site?

    Thread Starter Marcin Jó?wiak

    (@dragonesti)

    Hello

    Plugin list:

    +---------------------------------+----------+-----------+---------+

    | name? ? ? ? ? ? ? ? ? ? ? ? ? ? | status ? | update? ? | version |

    +---------------------------------+----------+-----------+---------+

    | cf7-conditional-fields? ? ? ? ? | active ? | none? ? ? | 2.5.1 ? |

    | contact-form-7? ? ? ? ? ? ? ? ? | active ? | none? ? ? | 6.0 ? ? |

    | cookie-notice ? ? ? ? ? ? ? ? ? | inactive | none? ? ? | 2.4.18? |

    | date-picker-for-contact-form-7? | inactive | none? ? ? | 1.0 ? ? |

    | disable-json-api? ? ? ? ? ? ? ? | active ? | none? ? ? | 1.8 ? ? |

    | disable-xml-rpc ? ? ? ? ? ? ? ? | active ? | none? ? ? | 1.0.1 ? |

    | duplicate-page? ? ? ? ? ? ? ? ? | active ? | none? ? ? | 4.5.4 ? |

    | duracelltomi-google-tag-manager | inactive | none? ? ? | 1.20.2? |

    | sierotki? ? ? ? ? ? ? ? ? ? ? ? | active ? | available | 3.2.8 ? |

    | wp-mail-smtp? ? ? ? ? ? ? ? ? ? | active ? | none? ? ? | 4.2.0 ? |

    | wordpress-seo ? ? ? ? ? ? ? ? ? | active ? | none? ? ? | 23.8? ? |

    | yoast-test-helper ? ? ? ? ? ? ? | active ? | none? ? ? | 1.18? ? |

    +---------------------------------+----------+-----------+---------+

    On some form I use Only CF7 and on another with cf7-conditional-fileds.
    The error is the same in both cases.

    Best regards

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    Try switching to the default theme, deactivating all plugins excluding Contact Form 7 and WP Mail SMTP, and clearing all cache data.

    Why you are advised to deactivate plugins and switch to the default theme.

    Thread Starter Marcin Jó?wiak

    (@dragonesti)

    Hello,

    I did this initially before opening this thread.
    Today I did it again. I disabled the remaining plugins and enabled the default theme. However, I cannot use the icons in form editing that I showed earlier in the image.
    Do you know why this happens and what could be the solution?

    Link to images (form edit view)
    https://www.dropbox.com/scl/fi/geuu44nq08zonpjmrok5d/Zrzut-ekranu-2024-11-14-o-12.04.25.png?rlkey=ak84txfh3jr2kuqtf80ftxtht&dl=0

    Best Reagards

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    Maybe you encountered this bug. Wait for the next release that fixes it.

    Thread Starter Marcin Jó?wiak

    (@dragonesti)

    Hello
    I’m not sure but it looks similar.
    Do you know when the next version correcting this bug will be released?

    Best regards

Viewing 10 replies - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.