Setting maximum upload file size has no effect
-
I’ve got a few file upload form fields. Like so:
[file* image-1 limit:1mb filetypes:jpg]
This works.
However, when I increase the maximum uploaded file size, submission of the form fails, if uploaded files are larger than 1MB, but only if I include the files as file attachments in the Contact Form 7 configuration.
If I don’t add the files as attachments, the form gets submitted without a problem, but the files disappear (presumably because CF7 removes files after upload).
This is the error I get, when I add files larger than 1MB to a form where the maximum file size is set to larger than 1MB (and larger than the files uploaded) and try to attach the files to the mail:
“Failed to send your submission. Please try later or contact the administrator by another method.”
The maximum allowed uploaded filesize according to PHP is 32MB.
How to proceed?
The topic ‘Setting maximum upload file size has no effect’ is closed to new replies.