Show / Hide Table of Contents

Class EMailAttachment

Information about an attachment

Carrier object for EMailAttachment. Services for the EMailAttachment Carrier is available from the EMail Agent.
Inheritance
object
EMailAttachment
Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
[DataContract(Namespace = "http://www.superoffice.net/ws/crm/NetServer/11.2.0.0")]
public class EMailAttachment : Carrier

Constructors

EMailAttachment()

Default constructor

Declaration
public EMailAttachment()
See Also
IEMailAgent

Properties

Description

Name/description

Declaration
[DataMember]
public virtual string Description { get; set; }
Property Value
Type Description
string
See Also
IEMailAgent

Disposition

Content-Disposition

Declaration
[DataMember]
public virtual string Disposition { get; set; }
Property Value
Type Description
string
See Also
IEMailAgent

Encoding

Content-Transfer-Encoding

Declaration
[DataMember]
public virtual string Encoding { get; set; }
Property Value
Type Description
string
See Also
IEMailAgent

Filename

Filename

Declaration
[DataMember]
public virtual string Filename { get; set; }
Property Value
Type Description
string
See Also
IEMailAgent

Id

Content-ID

Declaration
[DataMember]
public virtual string Id { get; set; }
Property Value
Type Description
string
See Also
IEMailAgent

IsSafeFileExtension

If the user should be allowed to download and perform other actions on the attachment.

Declaration
[DataMember]
public virtual bool IsSafeFileExtension { get; set; }
Property Value
Type Description
bool
See Also
IEMailAgent

Size

Size of attachment

Declaration
[DataMember]
public virtual int Size { get; set; }
Property Value
Type Description
int
See Also
IEMailAgent

Stream

Binary stream for outgoing attachments. This property will not be populated for existing e-mail items.

Declaration
[DataMember]
public virtual byte[] Stream { get; set; }
Property Value
Type Description
byte[]
See Also
IEMailAgent

Type

Attachment Content-Type

Declaration
[DataMember]
public virtual string Type { get; set; }
Property Value
Type Description
string
See Also
IEMailAgent

Methods

ToString()

Returns the carrier contents as a formatted string.

Declaration
public override string ToString()
Returns
Type Description
string

The carrier contents.

See Also
IEMailAgent

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.

See Also
IEMailAgent

See Also

IEMailAgent
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top