Show / Hide Table of Contents

Class MailMergeSettings

Settings specifying what selection to perform the mailmerge on, what merge document to use etc.

Carrier object for MailMergeSettings. Services for the MailMergeSettings Carrier is available from the ISelectionAgent.
Inheritance
object
MailMergeSettings
Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
public class MailMergeSettings : Carrier

Constructors

MailMergeSettings()

Default constructor

Declaration
public MailMergeSettings()
See Also
SelectionAgent
ISelectionAgent

Properties

AddCompanyInterest

Add this company interest to each company recipient.

Declaration
public virtual int AddCompanyInterest { get; set; }
Property Value
Type Description
Int32
See Also
SelectionAgent
ISelectionAgent

AddPersonInterest

Add this person interest to each person recipient.

Declaration
public virtual int AddPersonInterest { get; set; }
Property Value
Type Description
Int32
See Also
SelectionAgent
ISelectionAgent

AlwaysUseCustomAttention

Should custom attention always be used? If false, only use custom attention where there is no default.

Declaration
public virtual bool AlwaysUseCustomAttention { get; set; }
Property Value
Type Description
Boolean
See Also
SelectionAgent
ISelectionAgent

CustomAttention

Custom value for attention.

Declaration
public virtual string CustomAttention { get; set; }
Property Value
Type Description
String
See Also
SelectionAgent
ISelectionAgent

CustomMailBody

If specified, use this value as default mail body.

Declaration
public virtual string CustomMailBody { get; set; }
Property Value
Type Description
String
See Also
SelectionAgent
ISelectionAgent

CustomMailSubject

If specified, use this value as default mail subject.

Declaration
public virtual string CustomMailSubject { get; set; }
Property Value
Type Description
String
See Also
SelectionAgent
ISelectionAgent

DocumentId

Identity of document to be used as merge draft.

Declaration
public virtual int DocumentId { get; set; }
Property Value
Type Description
Int32
See Also
SelectionAgent
ISelectionAgent

ExtraInfo

Used to store additional information for the delivery systems.

Declaration
public virtual string ExtraInfo { get; set; }
Property Value
Type Description
String
See Also
SelectionAgent
ISelectionAgent

IncludeNoMailingsRecipient

Include recipients that are marked with NoMailings

Declaration
public virtual bool IncludeNoMailingsRecipient { get; set; }
Property Value
Type Description
Boolean
See Also
SelectionAgent
ISelectionAgent

IncludeRetiredRecipients

Include recipients that are marked as retired

Declaration
public virtual bool IncludeRetiredRecipients { get; set; }
Property Value
Type Description
Boolean
See Also
SelectionAgent
ISelectionAgent

IncludeStoppedRecipients

Include recipients that are marked with stop

Declaration
public virtual bool IncludeStoppedRecipients { get; set; }
Property Value
Type Description
Boolean
See Also
SelectionAgent
ISelectionAgent

IsTemporarySelection

If true, the selection is a temporary selection that can be deleted later.

Declaration
public virtual bool IsTemporarySelection { get; set; }
Property Value
Type Description
Boolean
See Also
SelectionAgent
ISelectionAgent

MailMergeDeliveryType

How the merged document is delivered to the recipients.

Declaration
public virtual EMailMergeTargetType MailMergeDeliveryType { get; set; }
Property Value
Type Description
EMailMergeTargetType
See Also
SelectionAgent
ISelectionAgent

ProjectId

Identity of project to use as source for recipients.

Declaration
public virtual int ProjectId { get; set; }
Property Value
Type Description
Int32
See Also
SelectionAgent
ISelectionAgent

RemoveCompanyInterest

Remove this company interest on each company recipient.

Declaration
public virtual int RemoveCompanyInterest { get; set; }
Property Value
Type Description
Int32
See Also
SelectionAgent
ISelectionAgent

RemovePersonInterest

Remove this person interest on each person recipient.

Declaration
public virtual int RemovePersonInterest { get; set; }
Property Value
Type Description
Int32
See Also
SelectionAgent
ISelectionAgent

SaveDocument

Should we save a reference to the merge document on each recipient.

Declaration
public virtual bool SaveDocument { get; set; }
Property Value
Type Description
Boolean
See Also
SelectionAgent
ISelectionAgent

SelectionId

Identity of selection to use as source for recipients.

Declaration
public virtual int SelectionId { get; set; }
Property Value
Type Description
Int32
See Also
SelectionAgent
ISelectionAgent

Synchronous

Settings specifying what selection to perform the mailmerge on, what merge document to use etc.

Carrier object for MailMergeSettings. Services for the MailMergeSettings Carrier is available from the ISelectionAgent.
Declaration
public virtual bool Synchronous { get; set; }
Property Value
Type Description
Boolean
See Also
SelectionAgent
ISelectionAgent

TaskEntity

If specified, register a task on recipients using properties from this object.

Declaration
public virtual MailMergeTask TaskEntity { get; set; }
Property Value
Type Description
MailMergeTask
See Also
SelectionAgent
ISelectionAgent

TestOnly

If true, do the merge task, but use current user as target, instead of selection members

Declaration
public virtual bool TestOnly { get; set; }
Property Value
Type Description
Boolean
See Also
SelectionAgent
ISelectionAgent

Methods

ToString()

Returns the carrier contents as a formatted string.

Declaration
public override string ToString()
Returns
Type Description
String

The carrier contents.

See Also
SelectionAgent
ISelectionAgent

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
SelectionAgent
ISelectionAgent

See Also

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