Contact Form Processing Products - for all your needs

FormMail • Form Encryption • Hosted Forms


This page documents the CLEANUP_TIME configuration setting in FormMail.

Type Of Setting

CLEANUP_TIME is a LEAVE setting, which means...

LEAVE : you can change this setting if you really need to and know what you're doing, but we recommend that you leave this setting unchanged.


Controls the cleanup of old files in SCRATCH_PAD.


Set CLEANUP_TIME to the number of minutes to leave old files in SCRATCH_PAD.

CLEANUP_TIME is only used if you setup SCRATCH_PAD.

Under certain circumstances uploaded files may be left in the SCRATCH_PAD directory. This can happen in a multi-page form sequence when the user abandons the processing before the uploaded files are processed (e.g. emailed to you).

In this case, the uploaded files will simply remain on your server in SCRATCH_PAD until something removes them.

By setting CLEANUP_TIME to a non-zero value, you're telling FormMail to cleanup old files automatically.

Note that this value should be set to greater than the configured PHP session time, however, this isn't always easy determine.

So, pick a time that's larger than a reasonable maximum time for a user to pause part-way through a multi-page form sequence.

Default Value


See Also