Attachment not working

rawcat 15 Jun, 2018
Hello,

I was using the upload feature for some years. The file was uploaded to the server and linked in the email. It worked like a charm.

Due to the new privacy regulations I need to change this and attach the files to the email itself. So I removed the upload event and added the form field to the email-event under "Attachments fields name".

But the email now does not have any attachment at all.

This is the debugger information:

Data Array:
Array
(
[option] => com_chronoforms
[chronoform] => Formular
[event] => submit
[input_email] => max@mustermann.de
[input_titel] =>
[input_name] => Max
[input_vorname] => Mustermann
[input_adresse] =>
[input_ort] => Berlin
[input_land] =>
[input_telefon] => 00000000
[input_nachricht] => Upload Test
[file_upload] =>
[chrono_verification] => Y8WZ7
[input_ds] => 1
[input_submit_13] => Absenden
[327a80c686a766cb638af909e45fe5ab] => 1
)
Validation Errors:
Array
(
)

Any idea or suggestion on what to do?

Thanks in advance!
Felix
GreyHead 16 Jun, 2018
Hi Felix,

Is the Email action after the Upload Files action?

Your Debugger code extract does not include any output from either of these actions.

Bob
rawcat 19 Jun, 2018
Hi Bob,

thanks for your Reply. Yes it is after the upload.

Please let me know if you notice any issues:

Attachment not working image 1
rawcat 19 Jun, 2018
New Debug Info:

Data Array:
Array
(
[option] => com_chronoforms
[chronoform] => Formular
[event] => submit
[input_email] => max@mustermann.de
[input_titel] =>
[input_name] => Max
[input_vorname] => Mustermann
[input_adresse] =>
[input_ort] => Berlin
[input_land] =>
[input_telefon] => 00000000
[input_nachricht] => sfsdfsdf
[file_upload] =>
[chrono_verification] => ztVpE
[input_ds] => 1
[input_submit_13] => Absenden
[3809342099dc6ccc4923dc0ee031b9b6] => 1
[_PLUGINS_] => Array
(
[upload_files] => Array
(
)

)

)
Validation Errors:
Array
(
)
GreyHead 20 Jun, 2018
Answer
Hi rawcat,

As you can see the value of [file_upload] is empty so no file is being uploaded??? Maybe there is problem with the File Upload settings?

Bob
rawcat 20 Jun, 2018
Hey Bob,

thank you so much. There really was a typo in the "Field configuration".

It now works like a charm!
This topic is locked and no more replies can be posted.