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

Have body be anything that uses String.Chars #7

Open
asonge opened this issue Feb 10, 2016 · 3 comments
Open

Have body be anything that uses String.Chars #7

asonge opened this issue Feb 10, 2016 · 3 comments

Comments

@asonge
Copy link

asonge commented Feb 10, 2016

In order to make things as flexible as possible, have the body of a Mail message be anything that implements String.Chars. This lets each message type know how to encode itself, maximizing future extensibility.

@bcardarella
Copy link
Member

I realize this was opened a long time ago, but I'm triaging now. Do you happen to recall your use-case? The message body should always be a binary which does implement String.Chars. Or were you suggesting implementing the prototcol on the message itself?

@asonge
Copy link
Author

asonge commented Jul 20, 2017

I think I posited this for implementing MIME and other kinds of message types, but I'm not sure (this was so long ago).

@asonge
Copy link
Author

asonge commented Jul 20, 2017

Come to think of it, it might be useful to have another protocol for an email message specifically, but I'm not 100% sure what that looks like.

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

No branches or pull requests

2 participants