Class EMailAttachment
Information about an attachment
Carrier object for EMailAttachment. Services for the EMailAttachment Carrier is available from the IEMailAgent.Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
public class EMailAttachment : Carrier
Constructors
EMailAttachment()
Default constructor
Declaration
public EMailAttachment()
See Also
Properties
Description
Name/description
Declaration
public virtual string Description { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
Disposition
Content-Disposition
Declaration
public virtual string Disposition { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
Encoding
Content-Transfer-Encoding
Declaration
public virtual string Encoding { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
Filename
Filename
Declaration
public virtual string Filename { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
Id
Content-ID
Declaration
public virtual string Id { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
IsSafeFileExtension
If the user should be allowed to download and perform other actions on the attachment.
Declaration
public virtual bool IsSafeFileExtension { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
See Also
Size
Size of attachment
Declaration
public virtual int Size { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
See Also
Stream
Binary stream for outgoing attachments. This property will not be populated for existing e-mail items.
Declaration
public virtual byte[] Stream { get; set; }
Property Value
Type | Description |
---|---|
Byte[] |
See Also
Type
Attachment Content-Type
Declaration
public virtual string Type { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
Methods
ToString()
Returns the carrier contents as a formatted string.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | The carrier contents. |
See Also
ToString(String)
Returns the carrier contents as a formatted string, useful for debugging. Each line in the output is prefixed with the input value.
Declaration
public string ToString(string prefix)
Parameters
Type | Name | Description |
---|---|---|
String | prefix | The line prefix (typically used for indenting) |
Returns
Type | Description |
---|---|
String | The carrier contents. |