bbottema/simple-java-mail

Enhancement: allow defaults/overrides to ignore individual fields (turn off for specific properties)

bbottema opened this issue · 1 comments

With the defaults and overrides overhaul I'm doing to enable #297, when a (system) property for a default value is available, like a default FROM address in the property file, it is always applied to any email. sometimes though, you want to have an email where this default is not set for a specific property, perhaps because you want to leave it empty under certain conditions or because you are testing something.

Enhancement released in 8.0.0. You can now ignore specific fields on a specific Email instance for both defaulting and overriding.