Show / Hide Table of Contents

Class MailAttachmentProvider

Gets information about an attachment for a mail

Inheritance
Object
MailAttachmentProvider
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: SuperOffice.CRM.Mail
Assembly: SoDataBase.dll
Syntax
public static class MailAttachmentProvider

Methods

GetFor(PhysicalDocument)

Create a mail attachment from a document stored in the document archive.

Declaration
public static MailAttachment GetFor(PhysicalDocument document)
Parameters
Type Name Description
PhysicalDocument document

Object referring to the document in the document archive.

Returns
Type Description
SuperOffice.CRM.Mail.MailAttachment

GetFor(Document)

Create a mail attachment from a document stored in the document archive.

Declaration
public static MailAttachment GetFor(Document document)
Parameters
Type Name Description
Document document

Entity representing the document.

Returns
Type Description
SuperOffice.CRM.Mail.MailAttachment

GetFor(IDocumentInfo)

Create a mail attachment from a document stored in the document archive.

Declaration
public static MailAttachment GetFor(IDocumentInfo documentInfo)
Parameters
Type Name Description
IDocumentInfo documentInfo

Information about the document

Returns
Type Description
SuperOffice.CRM.Mail.MailAttachment

GetFor(Int32)

Create a mail attachment from a document stored in the document archive.

Declaration
public static MailAttachment GetFor(int documentId)
Parameters
Type Name Description
Int32 documentId

Primary key of the document in the database.

Returns
Type Description
SuperOffice.CRM.Mail.MailAttachment
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Back to top