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 a MailboxAddress.Parse method that returns a MailboxAddress instead of InternetAddress ? #197

Closed
jakejscott opened this issue Dec 8, 2015 · 5 comments
Labels
enhancement New feature or request

Comments

@jakejscott
Copy link

No description provided.

@jakejscott jakejscott changed the title Add a MailboxAddress.Parse method that returns a MailboxAddress instead of InternetAddress ? Add a MailboxAddress.Parse method that returns a MailboxAddress instead of InternetAddress ? Dec 8, 2015
@jstedfast
Copy link
Owner

The Parse() method is on the InternetAddress class (which is the base class for MailboxAddress).

You can just cast the result to MailboxAddress.

@jstedfast jstedfast added the question A question about how to do something label Dec 8, 2015
@jakejscott
Copy link
Author

I guess it would be nice if you didn't have to cast the result though.

On Wed, Dec 9, 2015 at 10:12 AM, Jeffrey Stedfast notifications@github.com
wrote:

The Parse() method is on the InternetAddress class (which is the base
class for MailboxAddress).

You can just cast the result to MailboxAddress.


Reply to this email directly or view it on GitHub
#197 (comment).

jstedfast added a commit that referenced this issue Dec 8, 2015
@jstedfast jstedfast added enhancement New feature or request and removed question A question about how to do something labels Dec 8, 2015
@jstedfast
Copy link
Owner

Implemented.

@jakejscott
Copy link
Author

Wow thanks!!!

@jstedfast
Copy link
Owner

MimeKit 1.2.18 just released to nuget supports this. I'll be making another 1.3.0-beta in the next few days (if you need dnxcore50)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants