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.Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
public class MailMergeSettings : Carrier
Constructors
MailMergeSettings()
Default constructor
Declaration
public MailMergeSettings()
See Also
Properties
AddCompanyInterest
Add this company interest to each company recipient.
Declaration
public virtual int AddCompanyInterest { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
See Also
AddPersonInterest
Add this person interest to each person recipient.
Declaration
public virtual int AddPersonInterest { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
See Also
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
CustomAttention
Custom value for attention.
Declaration
public virtual string CustomAttention { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
CustomMailBody
If specified, use this value as default mail body.
Declaration
public virtual string CustomMailBody { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
CustomMailSubject
If specified, use this value as default mail subject.
Declaration
public virtual string CustomMailSubject { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
DocumentId
Identity of document to be used as merge draft.
Declaration
public virtual int DocumentId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
See Also
ExtraInfo
Used to store additional information for the delivery systems.
Declaration
public virtual string ExtraInfo { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
IncludeNoMailingsRecipient
Include recipients that are marked with NoMailings
Declaration
public virtual bool IncludeNoMailingsRecipient { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
See Also
IncludeRetiredRecipients
Include recipients that are marked as retired
Declaration
public virtual bool IncludeRetiredRecipients { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
See Also
IncludeStoppedRecipients
Include recipients that are marked with stop
Declaration
public virtual bool IncludeStoppedRecipients { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
See Also
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
MailMergeDeliveryType
How the merged document is delivered to the recipients.
Declaration
public virtual EMailMergeTargetType MailMergeDeliveryType { get; set; }
Property Value
Type | Description |
---|---|
EMailMergeTargetType |
See Also
ProjectId
Identity of project to use as source for recipients.
Declaration
public virtual int ProjectId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
See Also
RemoveCompanyInterest
Remove this company interest on each company recipient.
Declaration
public virtual int RemoveCompanyInterest { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
See Also
RemovePersonInterest
Remove this person interest on each person recipient.
Declaration
public virtual int RemovePersonInterest { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
See Also
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
SelectionId
Identity of selection to use as source for recipients.
Declaration
public virtual int SelectionId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
See Also
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
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
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
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. |