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

[Feature Request] CC equivalent of toString #582

Closed
cjsfj opened this issue Feb 25, 2021 · 2 comments
Closed

[Feature Request] CC equivalent of toString #582

cjsfj opened this issue Feb 25, 2021 · 2 comments
Labels
enhancement This will enhance this library. needs investigation This will be tested / debugged or checked out.

Comments

@cjsfj
Copy link

cjsfj commented Feb 25, 2021

Is your feature request related to a problem? Please describe.
No. Just a convenience

Describe the solution you'd like
The to field of emails has a nice toString that compiles a string of all of the names and recipients in the to line of the email. It would be convenient if it was also available for the cc

Describe alternatives you've considered
Duplicating the code for toString and implementing it on my own. But there are many rules in place here that I think would be beneficial as a standard implementation

Thank you!

@cjsfj cjsfj added the needs investigation This will be tested / debugged or checked out. label Feb 25, 2021
@Sebbo94BY Sebbo94BY added the enhancement This will enhance this library. label Mar 1, 2021
Sebbo94BY added a commit that referenced this issue Nov 25, 2021
…ent-to-To-list

#582: Make Cc-list equivalent to To-list
@Sebbo94BY
Copy link
Collaborator

Implemented. Check out the develop branch for now in order to test this.

Cc has now the same behaviour as To:

  • to (Array) / toString: (String)
  • cc (Array) / ccString: (String)

@Sebbo94BY Sebbo94BY mentioned this issue Dec 27, 2021
@Sebbo94BY
Copy link
Collaborator

This change is included in the release 4.3.0 and newer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This will enhance this library. needs investigation This will be tested / debugged or checked out.
Projects
None yet
Development

No branches or pull requests

2 participants