Table of Contents

Class EmailDraft

Namespace
Shift.Common
Assembly
Shift.Common.dll
public class EmailDraft
Inheritance
EmailDraft
Inherited Members
Extension Methods

Remarks

This interface is used to represent an email message that has not yet been sent. It corresponds to Draft items in Gmail or Outook.

Properties

AutoBccSubscribers

public bool AutoBccSubscribers { get; set; }

Property Value

bool

ContentAttachments

public List<string> ContentAttachments { get; set; }

Property Value

List<string>

ContentBody

public MultilingualString ContentBody { get; set; }

Property Value

MultilingualString

ContentCompetencies

public Dictionary<Guid, Guid[]> ContentCompetencies { get; set; }

Property Value

Dictionary<Guid, Guid[]>

ContentCredentials

public Dictionary<Guid, Guid[]> ContentCredentials { get; set; }

Property Value

Dictionary<Guid, Guid[]>

ContentPriority

public string ContentPriority { get; set; }

Property Value

string

ContentSubject

public MultilingualString ContentSubject { get; set; }

Property Value

MultilingualString

ContentVariables

public Dictionary<string, string> ContentVariables { get; set; }

Property Value

Dictionary<string, string>

EventIdentifier

public Guid? EventIdentifier { get; set; }

Property Value

Guid?

IgnoreSubscribers

public bool IgnoreSubscribers { get; set; }

Property Value

bool

IsDisabled

public bool IsDisabled { get; set; }

Property Value

bool

MailoutCancelled

public DateTimeOffset? MailoutCancelled { get; set; }

Property Value

DateTimeOffset?

MailoutCompleted

public DateTimeOffset? MailoutCompleted { get; set; }

Property Value

DateTimeOffset?

MailoutErrorReason

public string MailoutErrorReason { get; set; }

Property Value

string

MailoutIdentifier

public Guid MailoutIdentifier { get; set; }

Property Value

Guid

MailoutScheduled

public DateTimeOffset? MailoutScheduled { get; set; }

Property Value

DateTimeOffset?

MailoutStatus

public string MailoutStatus { get; set; }

Property Value

string

MailoutStatusCode

public string MailoutStatusCode { get; set; }

Property Value

string

MailoutSucceeded

public bool MailoutSucceeded { get; set; }

Property Value

bool

MessageIdentifier

public Guid? MessageIdentifier { get; set; }

Property Value

Guid?

OrganizationIdentifier

public Guid OrganizationIdentifier { get; set; }

Property Value

Guid

RecipientListBcc

public Dictionary<Guid, string> RecipientListBcc { get; set; }

Property Value

Dictionary<Guid, string>

RecipientListCc

public Dictionary<Guid, string> RecipientListCc { get; set; }

Property Value

Dictionary<Guid, string>

RecipientListTo

public Dictionary<Guid, string> RecipientListTo { get; set; }

Property Value

Dictionary<Guid, string>

Recipients

public EmailAddressList Recipients { get; set; }

Property Value

EmailAddressList

SenderEmail

public string SenderEmail { get; set; }

Property Value

string

SenderEnabled

public bool SenderEnabled { get; set; }

Property Value

bool

SenderIdentifier

public Guid SenderIdentifier { get; set; }

Property Value

Guid

SenderName

public string SenderName { get; set; }

Property Value

string

SenderStatus

public string SenderStatus { get; set; }

Property Value

string

SenderType

public string SenderType { get; set; }

Property Value

string

SurveyIdentifier

public Guid? SurveyIdentifier { get; set; }

Property Value

Guid?

SurveyNumber

public int? SurveyNumber { get; set; }

Property Value

int?

SystemMailbox

public string SystemMailbox { get; set; }

Property Value

string

UserIdentifier

public Guid UserIdentifier { get; set; }

Property Value

Guid

Methods

AttachFile(string)

public void AttachFile(string path)

Parameters

path string

Create(Guid, Guid?, Guid, bool)

public static EmailDraft Create(Guid organization, Guid? message, Guid sender, bool autoBccSubscribers)

Parameters

organization Guid
message Guid?
sender Guid
autoBccSubscribers bool

Returns

EmailDraft