TYPO3 Powermail 2.x: 发送邮件后从服务器删除上传文件。
TYPO3 Powermail 2.x: Delete upload files from server after the mail was sent.
在 Powermail 1.x 中,我可以在 Powermail 常量中设置此功能:
# cat=powermail uploads/enable/0530; type=boolean; label= Delete after attach: If checked, all uploaded files will be deleted from the server after the mail was sent
upload.delete = 0
是否不能再从服务器上删除上传的文件了?是使用 cronjob 删除这些文件的唯一方法吗?
您不需要自己的 cronjob。
转到调度程序,添加一个新任务,选择"Extbase Command Controller Task"。
打开 "CommandController Command" 下拉菜单。在那里你会找到任务 "powermail: Clean Unused Uploads".
在 Powermail 1.x 中,我可以在 Powermail 常量中设置此功能:
# cat=powermail uploads/enable/0530; type=boolean; label= Delete after attach: If checked, all uploaded files will be deleted from the server after the mail was sent
upload.delete = 0
是否不能再从服务器上删除上传的文件了?是使用 cronjob 删除这些文件的唯一方法吗?
您不需要自己的 cronjob。
转到调度程序,添加一个新任务,选择"Extbase Command Controller Task"。
打开 "CommandController Command" 下拉菜单。在那里你会找到任务 "powermail: Clean Unused Uploads".