Constructors
Declaration
Methods
Declaration
Integer GetDocumentMessageId()
Returns
Type |
Description |
Integer |
If a document was used as the message this is the document ID.
|
NSPreviewMailingHeader thing;
Integer documentMessageId = thing.GetDocumentMessageId();
Declaration
Returns
Type |
Description |
String |
Email address to put in the From header of the messages.
|
NSPreviewMailingHeader thing;
String fromAddress = thing.GetFromAddress();
Declaration
Returns
Type |
Description |
Integer |
Primary key.
|
NSPreviewMailingHeader thing;
Integer messageId = thing.GetMessageId();
Declaration
String GetMessageSubject()
Returns
Type |
Description |
String |
The mail subject field of the message.
|
NSPreviewMailingHeader thing;
String messageSubject = thing.GetMessageSubject();
Declaration
Returns
Type |
Description |
Integer |
Number of recipients that resulted in a bounce.
|
NSPreviewMailingHeader thing;
Integer numBounced = thing.GetNumBounced();
Declaration
Returns
Type |
Description |
Integer |
Number of recipients that clicked at least 1 link in the mailing.
|
NSPreviewMailingHeader thing;
Integer numClicks = thing.GetNumClicks();
Declaration
Returns
Type |
Description |
Integer |
Number of recipients that opened the email.
|
NSPreviewMailingHeader thing;
Integer numOpened = thing.GetNumOpened();
Declaration
Returns
Type |
Description |
Integer |
Number of emails sent at the current time.
|
NSPreviewMailingHeader thing;
Integer numSent = thing.GetNumSent();
Gets the persons full name (internal name used in clients for employees).
Declaration
String GetPersonFullName()
Returns
NSPreviewMailingHeader thing;
String personFullName = thing.GetPersonFullName();
Declaration
Returns
Type |
Description |
Integer |
Primary key.
|
NSPreviewMailingHeader thing;
Integer personId = thing.GetPersonId();
Declaration
String GetShipmentDescription()
Returns
Type |
Description |
String |
Describes the shipment.
|
NSPreviewMailingHeader thing;
String shipmentDescription = thing.GetShipmentDescription();
Declaration
Returns
Type |
Description |
Integer |
Primary key.
|
NSPreviewMailingHeader thing;
Integer shipmentId = thing.GetShipmentId();
Declaration
Returns
Type |
Description |
String |
The list item.
|
NSPreviewMailingHeader thing;
String shipmentType = thing.GetShipmentType();
Declaration
Returns
Type |
Description |
DateTime |
The date and time when to start this shipment.
|
NSPreviewMailingHeader thing;
DateTime startDate = thing.GetStartDate();
Declaration
Returns
NSPreviewMailingHeader thing;
Integer status = thing.GetStatus();
Declaration
Void SetDocumentMessageId(Integer documentMessageId)
Parameters
Type |
Name |
Description |
Integer |
documentMessageId |
If a document was used as the message this is the document ID.
|
Returns
NSPreviewMailingHeader thing;
Integer documentMessageId;
thing.SetDocumentMessageId(documentMessageId);
Declaration
Void SetFromAddress(String fromAddress)
Parameters
Type |
Name |
Description |
String |
fromAddress |
Email address to put in the From header of the messages.
|
Returns
NSPreviewMailingHeader thing;
String fromAddress;
thing.SetFromAddress(fromAddress);
Declaration
Void SetMessageId(Integer messageId)
Parameters
Type |
Name |
Description |
Integer |
messageId |
Primary key.
|
Returns
NSPreviewMailingHeader thing;
Integer messageId;
thing.SetMessageId(messageId);
Declaration
Void SetMessageSubject(String messageSubject)
Parameters
Type |
Name |
Description |
String |
messageSubject |
The mail subject field of the message.
|
Returns
NSPreviewMailingHeader thing;
String messageSubject;
thing.SetMessageSubject(messageSubject);
Declaration
Void SetNumBounced(Integer numBounced)
Parameters
Type |
Name |
Description |
Integer |
numBounced |
Number of recipients that resulted in a bounce.
|
Returns
NSPreviewMailingHeader thing;
Integer numBounced;
thing.SetNumBounced(numBounced);
Declaration
Void SetNumClicks(Integer numClicks)
Parameters
Type |
Name |
Description |
Integer |
numClicks |
Number of recipients that clicked at least 1 link in the mailing.
|
Returns
NSPreviewMailingHeader thing;
Integer numClicks;
thing.SetNumClicks(numClicks);
Declaration
Void SetNumOpened(Integer numOpened)
Parameters
Type |
Name |
Description |
Integer |
numOpened |
Number of recipients that opened the email.
|
Returns
NSPreviewMailingHeader thing;
Integer numOpened;
thing.SetNumOpened(numOpened);
Declaration
Void SetNumSent(Integer numSent)
Parameters
Type |
Name |
Description |
Integer |
numSent |
Number of emails sent at the current time.
|
Returns
NSPreviewMailingHeader thing;
Integer numSent;
thing.SetNumSent(numSent);
Gets the persons full name (internal name used in clients for employees).
Declaration
Void SetPersonFullName(String personFullName)
Parameters
Type |
Name |
Description |
String |
personFullName |
|
Returns
NSPreviewMailingHeader thing;
String personFullName;
thing.SetPersonFullName(personFullName);
Declaration
Void SetPersonId(Integer personId)
Parameters
Type |
Name |
Description |
Integer |
personId |
Primary key.
|
Returns
NSPreviewMailingHeader thing;
Integer personId;
thing.SetPersonId(personId);
Declaration
Void SetShipmentDescription(String shipmentDescription)
Parameters
Type |
Name |
Description |
String |
shipmentDescription |
Describes the shipment.
|
Returns
NSPreviewMailingHeader thing;
String shipmentDescription;
thing.SetShipmentDescription(shipmentDescription);
Declaration
Void SetShipmentId(Integer shipmentId)
Parameters
Type |
Name |
Description |
Integer |
shipmentId |
Primary key.
|
Returns
NSPreviewMailingHeader thing;
Integer shipmentId;
thing.SetShipmentId(shipmentId);
Declaration
Void SetShipmentType(String shipmentType)
Parameters
Type |
Name |
Description |
String |
shipmentType |
The list item.
|
Returns
NSPreviewMailingHeader thing;
String shipmentType;
thing.SetShipmentType(shipmentType);
Declaration
Void SetStartDate(DateTime startDate)
Parameters
Type |
Name |
Description |
DateTime |
startDate |
The date and time when to start this shipment.
|
Returns
NSPreviewMailingHeader thing;
DateTime startDate;
thing.SetStartDate(startDate);
Declaration
Void SetStatus(Integer status)
Parameters
Returns
NSPreviewMailingHeader thing;
Integer status;
thing.SetStatus(status);