Skip to content

Enhancement: Simple Java Mail should throw an exception when trying to utilize S/MIME with smime-module on the classpath #442

@JacekMazovia

Description

@JacekMazovia

Hey,
I was trying to configure SMIME signing of mail. Finally succedded. But had problem that I used functions signWithSmime(). But saw no effect. Maybe it would be nice to add some note in documentation in the section "Signing / encrypting emails with S/MIME".

Maybe something like:

!! If you don't have class (...) from ..jar the signing won't work but print no error.

Later I found in source code fragment:

MimeMessageProducer : 
if (ModuleLoader.smimeModuleAvailable()) {
    message = ModuleLoader.loadSmimeModule().signAndOrEncryptEmail(session, (MimeMessage)message, email);
}

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions