Module org.jvnet.mimepull

Mimepull - MIME streaming extension for Java.

Properties

The following properties are supported by Mimepull. These must be set as System properties. The names, types, defaults, and semantics of these properties may change in future releases.

Mimepull System properties
Name Type Description
mail.mime.base64.ignoreerrors boolean If set to true, the BASE64 decoder will ignore errors in the encoded data, returning EOF. This may be useful when dealing with improperly encoded messages that contain extraneous data at the end of the encoded stream. Note however that errors anywhere in the stream will cause the decoder to stop decoding so this should be used with extreme caution. The default is false.
mail.mime.ignoreunknownencoding boolean If set to true, an unknown value in the Content-Transfer-Encoding header will be ignored when reading a message and an encoding of "8bit" will be assumed. If set to false, an exception is thrown for an unknown encoding value. The default is false.
mail.mime.uudecode.ignoreerrors boolean If set to true, errors in the encoded format of a uuencoded document will be ignored when reading a message part. If set to false, an exception is thrown for an incorrectly encoded message part. The default is false.
mail.mime.uudecode.ignoremissingbeginend boolean If set to true, a missing "beging" or "end" line in a uuencoded document will be ignored when reading a message part. If set to false, an exception is thrown for a uuencoded message part without the required "begin" and "end" lines. The default is false.
org.jvnet.mimepull.CleanUpExecutorFactory string The org.jvnet.mimepull.CleanUpExecutorFactory property defines fully qualified name for a class that implements CleanUpExecutorFactory. This property works system wide and overrides whatever is set by the application. There is no default implementation.
org.jvnet.mimepull.delay integer Defines the time to delay first execution of the clean up task run by java.util.concurrent.ScheduledExecutorService obtained through CleanUpExecutorFactory and the delay between the termination of one execution and the commencement of the next in seconds. The default is 10 seconds.
org.jvnet.mimepull.deletetemponexit boolean If set to true, temporary files will be marked as deleteOnExit. This may be typically needed if the application does not properly close MIMEMessage. Note however that setting this to true permanently adds an entry to a list of files to be deleted on JVM shutdown leading to a significant memory leak in long running server applications eventually, so this should be used with extreme caution. The default is false.