A Template is a wrapper for campaign content.
More...
|
int | AccountId [get, set] |
| The parent account id
|
|
string | FromName [get, set] |
| The name the email will be set to be from.
|
|
int | Id [get, set] |
| The template ID.
|
|
string | Name [get, set] |
| The name of the template.
|
|
CampaignReplyActions | ReplyAction [get, set] |
| CampaignReplyActions Unset, WebMailForward, Webmail or Delete.
|
|
string | ReplyToAddress [get, set] |
| The email address replies should be forwarded to.
|
|
string | Subject [get, set] |
| The subject line of the email.
|
|
string | UserTag1 [get, set] |
| User Tag
|
|
string | UserTag2 [get, set] |
| User Tag
|
|
string | UserTag3 [get, set] |
| User Tag
|
|
string | HtmlContent [get, set] |
| The contents of the HTML template.
|
|
string | PlainContent [get, set] |
| The contents of the Plain Text version of the template.
|
|
string | ExternalId [get] |
| A generated Id that uniquely identifies this template across all dotMailer accounts.
|
|
string | ObjectType [get, set] |
| Returns the type name of the class Used by the serialisation process
|
|
bool | IsDirty [get] |
| Returns true if the object has changed
|
|
string | FromName [get] |
| The name the email will be set to be from.
|
|
string | HtmlContent [get] |
| The contents of the HTML template.
|
|
int | Id [get] |
| The template ID.
|
|
string | Name [get] |
| The name of the template.
|
|
string | PlainContent [get] |
| The contents of the Plain Text version of the template.
|
|
CampaignReplyActions | ReplyAction [get] |
| Unset, WebMailForward, Webmail or Delete.
|
|
string | ReplyToAddress [get] |
| The email address replies should be forwarded to.
|
|
string | Subject [get] |
| The subject line of the email.
|
|
int | AccountId [get] |
| The DotMailer account Id for this object
|
|
string | ExternalId [get] |
| A key that represents this object, used for synching with external applications
|
|
bool | IsDirty [get] |
| has the data of the object changed
|
|
A Template is a wrapper for campaign content.
It is used to create campaigns which are then sent as emails
dotMailer.Sdk.Objects.Templates.DmTemplate.DmTemplate |
( |
| ) |
|
DmCampaign dotMailer.Sdk.Objects.Templates.DmTemplate.ConvertToCampaign |
( |
string |
subject, |
|
|
string |
campaignName |
|
) |
| |
Converts the template to a campaign
- Parameters
-
subject | The subject of the campaign |
campaignName | The name of the campaign |
- Returns
int dotMailer.Sdk.Objects.Templates.DmTemplate.AccountId |
|
getset |
string dotMailer.Sdk.Objects.Templates.DmTemplate.ExternalId |
|
get |
A generated Id that uniquely identifies this template across all dotMailer accounts.
string dotMailer.Sdk.Objects.Templates.DmTemplate.FromName |
|
getset |
The name the email will be set to be from.
string dotMailer.Sdk.Objects.Templates.DmTemplate.HtmlContent |
|
getset |
The contents of the HTML template.
int dotMailer.Sdk.Objects.Templates.DmTemplate.Id |
|
getset |
bool dotMailer.Sdk.Objects.Templates.DmTemplate.IsDirty |
|
get |
Returns true if the object has changed
string dotMailer.Sdk.Objects.Templates.DmTemplate.Name |
|
getset |
The name of the template.
string dotMailer.Sdk.Objects.Templates.DmTemplate.ObjectType |
|
getset |
Returns the type name of the class Used by the serialisation process
string dotMailer.Sdk.Objects.Templates.DmTemplate.PlainContent |
|
getset |
The contents of the Plain Text version of the template.
CampaignReplyActions Unset, WebMailForward, Webmail or Delete.
string dotMailer.Sdk.Objects.Templates.DmTemplate.ReplyToAddress |
|
getset |
The email address replies should be forwarded to.
string dotMailer.Sdk.Objects.Templates.DmTemplate.Subject |
|
getset |
The subject line of the email.
string dotMailer.Sdk.Objects.Templates.DmTemplate.UserTag1 |
|
getset |
string dotMailer.Sdk.Objects.Templates.DmTemplate.UserTag2 |
|
getset |
string dotMailer.Sdk.Objects.Templates.DmTemplate.UserTag3 |
|
getset |