Skip to content

Refactored address handling for improved consistency and formatting#498

Merged
wneessen merged 2 commits intomainfrom
bugfix/497_address-name-is-not-included-in-header
Sep 29, 2025
Merged

Refactored address handling for improved consistency and formatting#498
wneessen merged 2 commits intomainfrom
bugfix/497_address-name-is-not-included-in-header

Conversation

@wneessen
Copy link
Owner

  • Replaced repetitive address string manipulation with mailAddressStringWithoutName helper function.
  • Updated sender and recipient parsing logic to ensure proper handling of addresses without names.
  • Improved clarity and maintainability by standardizing address formatting logic.

This fixes a regression introduced in v0.7.1 (see #497)

- Replaced repetitive address string manipulation with `mailAddressStringWithoutName` helper function.
- Updated sender and recipient parsing logic to ensure proper handling of addresses without names.
- Improved clarity and maintainability by standardizing address formatting logic.

This fixes a regression introduced in v0.7.1 (see #497)
- Updated `VERSION` constant in `doc.go` to reflect the new release version.
@wneessen wneessen linked an issue Sep 29, 2025 that may be closed by this pull request
@codecov
Copy link

codecov bot commented Sep 29, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.10%. Comparing base (42e92cf) to head (a08e65e).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #498   +/-   ##
=======================================
  Coverage   94.10%   94.10%           
=======================================
  Files          30       30           
  Lines        3629     3631    +2     
=======================================
+ Hits         3415     3417    +2     
  Misses        156      156           
  Partials       58       58           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@wneessen wneessen merged commit b56b66c into main Sep 29, 2025
16 of 18 checks passed
@wneessen wneessen deleted the bugfix/497_address-name-is-not-included-in-header branch September 29, 2025 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Address name is not included in header

1 participant