Overview

MessageAttachment represents an attachment to an e-mail message. Every e-mail in addition to a body can include several attachments (some files). Every such attachment is represented by this class.

Location

  • Reference:
    • RemObjects.InternetPack.dll  .NET, .NET Core 5.0, .NET Standard 2.0
    • RemObjects.InternetPack.fx  Island
    • libRemObjects.InternetPack.fx  Toffee
  • Namespace: RemObjects.InternetPack.Messages

Properties


Data  virtual

Gets or sets the stream contained data of the attachment.

property Data: Stream read write;
Stream Data { get; set; }
var Data: Stream { get{} set{} }
Property Data() As Stream

FileName  virtual

property FileName: String read write;
String FileName { get; set; }
var FileName: String { get{} set{} }
Property FileName() As String

OwnsData  virtual

Indication whether Data contains value or not (null).

property OwnsData: Boolean read write;
Boolean OwnsData { get; set; }
var OwnsData: Boolean { get{} set{} }
Property OwnsData() As Boolean

Instance Methods


constructor .NET, .NET Core 5.0, .NET Standard 2.0, Island


Dispose

Releases all resources used by Data.