jakartaee / jakartaee/mail-api

Throwing Exception without lastServerResponse

Open
#401 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
285
Forks
109
Avg merge
15h 19m
Merged PRs (30d)
1

Description

**Is your feature request related to a problem? Please describe.**
Whenever the connected MTA unable to provide 220 for welcome message, the last server response is not included in the Messaging Exception. This sometimes makes us difficult to debug the issue (Mostly when our IP address is listed (or) when the MTA is unable to serve any requests)

**Describe the solution you'd like**
Instead of providing the return code, we can construct the Exception with lastServerResponse

**Describe alternatives you've considered**
--

**Additional context**
--

Contributor guide

Open the contributing guide

Research direction

No file or test is named in the issue. Start by locating the Java code that handles the MTA welcome response and constructs the MessagingException, then find its related tests. Done means a non-220 welcome failure includes the last server response in the exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.