How delete uploaded file after send email?

Delete an uploaded file after sending an email in ChronoForms.

Overview

In ChronoForms v6, attempting to delete a file after email submission results in a class not found error because the necessary functionality is unavailable.
Upgrade to ChronoForms v7, enable the global delete files behavior for the form, and use the "Delete file" setting in the field configuration.

Answered
jo joaoparao 03 Feb, 2021
Hi, I have worked how indicated from the post
https://www.chronoengine.com/forums/posts/t14486/send-file-by-mail-without-upload-to-server?keywords=file%20config%20is%20empty%20send%20mail%20

but I receive a
Error: 0 Class 'CFUploads' not found.
What is my mistake?
I use Chronoforms v6.
Thank you so much
Joao
Max_admin Max_admin 06 Feb, 2021
Answer
in v7 there is a "Delete file" behavior in the field settingsm make sure the global delete files behavior of the form is enabled too!
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
jo joaoparao 08 Feb, 2021
Hi Max,
I solved it just yesterday. However I understand: I have to upgrade to v7 to solve any problem. 😉
Bye
Joao
This topic is locked and no more replies can be posted.