File attachments lost on Custom form


(Clementoke) #1

Hi all,

I've set up a simple contact form which is meant to send uploaded attachments but nothing comes through. I've sent it to two different email addresses but still no luck.

Does the form have to be live in order to receive attachments?

Cheers,

Clement Capture.JPG (11.1 KB)


(Tim Davison) #2

Do you need to select Yes for 'Attach to Emails' on the custom form question?  (I'm guessing you would need to, but haven't checked).

EDIT: I mean on the question itself, not in the email options part.  I'm guessing you may need both selected.

 

I'm assuming you're not hitting the HTTP or PHP upload limit?  

 

How's your system architected?  We have a replicated system and we had some funky stuff going on that took some time to track down and fix.


(Clementoke) #3

I didn't add a create location for the uploads - not sure if that has an effect. I'll check out the email actions 


#4

You need users to be able up upload it into the system by setting a folder (root node) on the upload question.

Especially if you have the form set to log submissions. I havnt been able to get it to work without it. But saying that I haven’t created a form without disabling submissions.


(Clementoke) #5

The upload works with a folder with public write access but the attachments still aren't coming through. Haven't set up email options yet just submission actions.


(Nic Hubbard) #6

The upload works with a folder with public write access but the attachments still aren't coming through. Haven't set up email options yet just submission actions.

 

You shouldn't need public write access.

 

Are there any errors in the logs? This should work right of out the box.


(Clementoke) #7

I'm wondering if it might be our firewall stripping out the attachments. Might try with an alternate email address.


(Nic Hubbard) #8

I'm wondering if it might be our firewall stripping out the attachments. Might try with an alternate email address.

 

So, they DO get uploaded into Matrix, just not attached to an email?

 

Also, there is two places to click a checkbox if you want to attach them to your email. Once on the question type, and once when configuring the email.


(Clementoke) #9

Got it! I missed the option in the question. Thanks for that.

C


(Tim Davison) #10

Not an answer to the question since you've already solved it, but I thought it may be useful to anyone else with similar issues.  I had a recent issue where I wasn't keeping submission logs and hadn't set a root folder.  No files got attached to emails.

 

We wanted a photo submission form that would keep the file assets on our system, we have diskspace issues.  Instead the image should just be sent to the recipient and not kept of the system.

 

If you are keeping submission logs, the attached files will sit under the submissions (unless you define a root node, in which case they are kept there).  If you are *not* keeping submission logs and have not defined a root node, then the file does *not* attach to the email.  The way around this is you have to specify a root note.

 

To get around our disk space issue (we didn't want a buildup of large image files), you *can* set the root node to the Trash.  This has worked fine for us so far since once the image is delivered to the recipient we don't want it anymore.  Then our normal Trash purge process kicks in (in our case weekly) and no buildup of files.


#11

Ahhh thanks that’s a greaat idea setting the root node to the trash.

Brilliant!


I thought you had to define a root node for the submissions but we found defining the node makes it easier to see the amount of files and trash them out of the system. But I suppose not having a root node and keeping with the submissions ensures that the right files are trashed when required.


Good stuff! I’ll mention that to the team.