Multi file Upload Mail - No File Attachment in Mail

How to fix multi-file uploads not attaching to emails in ChronoForms.

Overview

The issue occurs because the attachment variable for multiple files uses an array format that requires a specific placeholder.
Update the attachment string in the email settings to use the correct array path placeholder, and ensure your server's PHP settings allow for the required file sizes.

Answered
ChronoForms v6
Ol Olekk 03 May, 2017
Hello,
I have a problem with chronoform v6 mail attachment. Maybe somebody can help me.

My setup:
Designer-Tab: I have setup a form with a file field, multi file select is "multi section" and the name is file9[]

Setup-Tab: in the upload section in the file config is: file9:jpg

In the E-mail section is under Attachments list: {var:upload8.file9.path}

When I submit this the upload to the server works well, but in the mail is no attachment.

When I setup the form with single file (changed name to file9) it works fine and theres an attachment in the mail.

Is there any faq about this?

Kind regards,
Olekk
Max_admin Max_admin 03 May, 2017
Hi Olekk,

Since this is a multi file upload, the files are listed as an array under: {var:upload8.file9} and so the attachment string should be like this:

{var:upload8.file9.[n].path}


But that still would not work before the next update which is supposed to be ready in the next few hours hopefully.

Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Ol Olekk 03 May, 2017
Hi Max,

ok, thank you for your fast reply.

So I will wait for the next update an try again.

Best regards
Olekk
Ol Olekk 16 May, 2017
Hi Max,

ok, now it works fine - thank you. But it`s not possible to upload a JPG file that is bigger than 1.5 MB.

I allready set the max size to 10.000 KB (3 Setup - Upload files section). In the joomla Media Setup there is also the 10MB Limit activated.

When I try to send a file >1.5 MB the form reloads with loosing the file selection. An error message didn!t appear.

Is there a basic limit setting I missed?

Best regards
Oli
Max_admin Max_admin 16 May, 2017
Hi Oli,

What is the maximum size in the upload action ? is it "10000" or "10.000" ?

What about single file upload, does it have the same size problem ?

Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Ol Olekk 19 May, 2017
Answer
1 Likes
Hi Max,

thank you for the fast reply. it was a server problem. I set the mail upload and post values in the php.ini to 15M an now it works fine.
have a nice day!
This topic is locked and no more replies can be posted.