From Display Name

Nov 15, 2013 at 9:50 AM
why From property is set like this

mg.From = "xxx@gmail.com"; // Display name is not possible

and not like this

mg.From = new MailAddress( "xxx@gmail.com", "MyName");
Coordinator
Nov 17, 2013 at 11:02 PM
There are two use case who want to
1.set displayname and mail address
2.mail address only

And I provide consistency about mail address.
So, I design From property by MailAddress class also To,Cc,Bcc.

regards