check of mail is send

Pk Pkoll 26 Sep, 2024

Hello,

I want to check if a mail was sent correctly. Is that possible? And yes, how do I that?

Paul

v. v.d. Hulst 27 Sep, 2024

May be you can try to send it to yourself and see if it arrives??

Regards,

Peter

Pk Pkoll 27 Sep, 2024

Hallo Peter,

I know that is posible, but I want in chronoforms an action after I know that the mail is send, In the debug you can see:

                    [email_8] => true

How can I test this item with: {val:email_8} or {data:email_8} but both doen't work. Maybe someone knows how?

Paul

v. v.d. Hulst 27 Sep, 2024

Hello Paul.

I have tried in my form.

In the Submit/Message I have entered: Email send?: {var:email7}

the following is displayed: Email send?: 1 

(1=true) and the email=email7

So it works with me (in CF8)

Regards,

Peter

Pk Pkoll 28 Sep, 2024
Sorry, but I was looking for a solution for CF 7, it doesn't work there. but if you know a solution for that please let me know.Paul
v. v.d. Hulst 30 Sep, 2024

Hello Paul,

I have installed now CF7 in a local Joomla 3 installation (3.10.12)

May be you can try:

{var:email_5} with email_5 = email number. In my installation it gives a '1' after submitting.

With {var.pr:email_5} is gives 'true'

Hope this helps in your case.

Regards,

Peter

Pk Pkoll 01 Oct, 2024

Hello Peter,

I am using Joomla 5.1.4 and CF7.12.

I have tried al the different code, like {var:email_1} <email_1 is the mail I send> then I become the output "value" 

With {var.pr:email_1} the output is "<pre style="word-wrap:break-word; white-space:pre-wrap;" class=""><span class="ui text blue">true</span></pre>"

So I don't understand.

The debug looks like:

Maybe Max can help me?

Array
(
    [pages] => Array
        (
            [requested] => 1
            [default] => 1
            [this] => 1
            [accepted] => Array
                (
                    [1] => true
                )

            [active] => 1
            [tokens] => Array
                (
                    [1] => 55b0e648-026b-4543-864f-6185e88bc138
                )

        )

    [__lastsave] => 1727770511
    [_data] => Array
        (
            [1] => Array
                (
                    [option] => com_chronoforms7
                    [cont] => manager
                    [chronoform] => mailtest
                )

        )

    [_vars] => Array
        (
            [1] => Array
                (
                    [email_1] => true
                )

        )

)
Array
(
    [option] => com_chronoforms7
    [cont] => manager
    [chronoform] => mailtest
)
Array
(
    [email_1] => Array
        (
            [recipients] => Array
                (
                    [0] => paulkollau@gmail.com
                )

            [subject] => test
            [body] => Dit is een testmail
            [from_name] => paul
            [from_email] => info@paulkollau.nl
            [reply_name] => Super User
            [reply_email] => paulkollau@gmail.com
            [result] => the Mail sent successfully.
            [var] => true
        )

)
v. v.d. Hulst 01 Oct, 2024

Hello Paul,

Now I have it on Joomla 5.1.4 and CF7.12.

With Admin View i get:

{var:email_5} giving '1' after submitting.

{var.pr:email_5} giving 'true' after submitting.

Both in the confirmation message and in the email (user and admin email)

However:

In Front View: nothing displayed in the confirmation message after {var:email_5} and {var.pr:email_5}

Also in the admin email nothing is displayed from {var:email_5} and {var.pr:email_5}

The user email is NEVER received.

So I guess this is a BUG

REMARK:

test emails are also sent everytime after submitting (Test email. This email was sent by ChronoForms7) . I can not switch it off.

@max: can you confirm this behaviour?

Regards,

Peter

Max_admin Max_admin 05 Oct, 2024

in v7 you can use the "Run conditions" behavior under the "Data" behaviors and add a rule:

{var:email_1} == 1

did you try that ?

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Pk Pkoll 05 Oct, 2024

Hi Max,

That works but why I can't show the value in a field of update the value in a database record.

So   I tried to define a field and give it the value {var:email_1} but nothing happens. IN the example above you can see the results

Is there an solution?

Gr 

Paul

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