Please help me with this WCF error….How do I handle these builtin classes for WCF?
Type ‘System.Net.Mail.MailAddress’ cannot be serialized. Consider
marking it with the DataContractAttribute attribute, and marking all
of its members you want serialized with the DataMemberAttribute
attribute. See the Microsoft .NET Framework documentation for other
supported types.
You could implement a surrogate that knows how to de(serialize) the
MailAddresstype.