Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new methods and tests for handling email addresses #155

Merged
merged 2 commits into from
Nov 10, 2023

Commits on Nov 10, 2023

  1. #152: Add new methods and tests for handling email addresses

    Added new methods `ToFromString()`, `CcFromString()` and `BccFromString()` in msg.go file to handle strings of comma-separated email addresses.
    wneessen committed Nov 10, 2023
    Configuration menu
    Copy the full SHA
    cc14864 View commit details
    Browse the repository at this point in the history
  2. Updated mail.Address initialization in tests to make golangci-lint happy

    Tests for new mail address handling methods have been updated to use {Name:"", Address: "email@example.com"} format for initializing the []*mail.Address slices, instead of the previous shorthand {"", "email@example.com"}. This was done to increase code clarity and explicitness.
    wneessen committed Nov 10, 2023
    Configuration menu
    Copy the full SHA
    43c26a3 View commit details
    Browse the repository at this point in the history