Your software
My Mautic version is: v5.2.6
My PHP version is: 8.3.21
My Database type and version is: 10.11.8-MariaDB-0ubuntu0.24.04.1-log
Your problem
My problem is: Our client is using a form that allows a file to be attached. The response is sent to people who don’t use Mautic. The data is passed correctly with the “send results” function, but the recipients cannot open the attachments submitted through the form. Do those people need to be given access to the Forms section (e.g. with a View role), or is there another way to solve this?
These errors are showing in the log:
Steps I have tried to fix the problem:
Created a role who has permissions to view forms (view own, view others) and assets (view own, view others). This doesn’t solve this issue.
Can you share here or privately a link to the attatchment?
Noticed that if I’m not logged in to Mautic I also get the same error (when signing in, link works fine). Is it so, that the only solution is to give access to Mautic for those persons who receive the form results?
Couldn’t figure our how to send file via campaign.
As a quick fix, we set the attachment status to “Public accessible link to download” and limited the allowed file types. This way, the recipient of the form results can download the attachment.
I’m still looking for a smart way to make the file either automatically deleted from Mautic or set to non-public, for example, after 2 months. Any ideas?
Probably don’t use mautic forms for that but another platform, like a Wordpress form and send the non attachment data to mautic.
1 Like