Zipping/Archiving uploaded files and attaching it to the email notification

By: Ariff Khalid | Asked: 12/03/2023
ForumsCategory: General questionsZipping/Archiving uploaded files and attaching it to the email notification
Ariff Khalid asked 5 months ago
Hello, I have a form setup to capture client data and am running into email filesize attachment issues. I was wondering if anyone could help point me in the right direction to possibly zip all the files and attaching that to the email notification instead.
1 Answers
Victor Font answered 5 months ago
If your PHP installation has one of the several compression and archive libraries installed, you can use custom code to create a zip file. https://www.php.net/manual/en/refs.compression.php

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right