---
title: "com.sanctionco.jmail:jmail 2.0.0 Breaking Changes"
description: "What each com.sanctionco.jmail:jmail release removed, renamed or changed: 9 breaking changes in 1 version on Maven Central, each with its source."
canonical_url: https://since.dev/packages/maven/com.sanctionco.jmail:jmail
last_updated: 2026-12-04
---

# com.sanctionco.jmail:jmail breaking changes

com.sanctionco.jmail:jmail 2.0.0 (April 15, 2025) is its newest release with breaking changes, 9 of them. The first: Removed com.sanctionco.jmail.FailureReason.valueOf. Every breaking API change we have recorded in com.sanctionco.jmail:jmail on Maven Central: 9 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `2.2.2`, released September 2, 2026. [Source repository](https://github.com/RohanNagar/jmail)

Packages on Maven Central run on Java. [Java end of life dates](https://since.dev/calendar/eclipse-temurin.md).

## com.sanctionco.jmail:jmail 2.0.0 breaking changes

com.sanctionco.jmail:jmail 2.0.0, released April 15, 2025: 9 breaking changes.

- **Removed** `com.sanctionco.jmail.FailureReason.valueOf`  

FailureReason.valueOf was removed in com.sanctionco.jmail:jmail 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/com.sanctionco.jmail/jmail/2.0.0)
- **Removed** `com.sanctionco.jmail.FailureReason.values`  

FailureReason.values was removed in com.sanctionco.jmail:jmail 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/com.sanctionco.jmail/jmail/2.0.0)
- **Removed** `jmail.normalize.strip.quotes`  

Quotes are stripped by default now. To disable quote stripping, use NormalizationOptionsBuilder#keepQuotes(). [github.com](https://github.com/RohanNagar/jmail/releases/tag/v2.0.0)
- **Renamed** `FailureReason.MISSING_TOP_LEVEL_DOMAIN`  

Addresses ending in a comment now report MISSING_FINAL_DOMAIN_PART; MISSING_TOP_LEVEL_DOMAIN is used only when requireTopLevelDomain() fails. [github.com](https://github.com/RohanNagar/jmail/releases/tag/v2.0.0)
- **Behavior changed** `Email.normalized`  

By default normalized() now lowercases the address and removes extraneous quotes in the local-part. To keep v1 behavior, pass NormalizationOptions with keepQuotes() and adjustCase(CaseOption.NO_CHANGE). [github.com](https://github.com/RohanNagar/jmail/releases/tag/v2.0.0)
- **Behavior changed** `EmailValidationResult.getFailureReason`  

Addresses failing rules such as disallowIpDomain() or requireValidMXRecord() now return specific failure reasons instead of FAILED_CUSTOM_VALIDATION. [github.com](https://github.com/RohanNagar/jmail/releases/tag/v2.0.0)
- **Behavior changed** `FailureReason`  

FailureReason is now a class, so it can no longer be used in a switch statement. [github.com](https://github.com/RohanNagar/jmail/releases/tag/v2.0.0)
- **Signature changed** `com.sanctionco.jmail.Email.normalized`  

Quotes are stripped by default now. To disable quote stripping, use NormalizationOptionsBuilder#keepQuotes(). [central.sonatype.com](https://central.sonatype.com/artifact/com.sanctionco.jmail/jmail/2.0.0)
- **Signature changed** `com.sanctionco.jmail.FailureReason`  

Was enum FailureReason; now final class FailureReason. [central.sonatype.com](https://central.sonatype.com/artifact/com.sanctionco.jmail/jmail/2.0.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
