Monday, August 10, 2009

Chapter 15-Lesson 1

  • System.Net.Mail is new in .NET 2.0
  • MailMessage object's To property is of type MailAddressCollection.
  • Attachments property is of type AttachmentCollection.
  • We may use AlternativeViews instead of MailMessage.Body. These allow to define different scenarios for displaying email to the recipient, depending on what capabilities the recipient may have.
  • CreateAlternateViewFromString( ) static method of AlternateView class creates a new object for it.
  • LinkedResource class is used to embed specific objects (such as images) within an HTML MailMessage using ContentID.

No comments:

Post a Comment