# E-mail Templates

On the E-mail Template tab, the e-mail templates for the various messages that can be sent from the QlikView Publisher (QVP) can be managed. The messages include the following:

* Attachment (HTML)

  [Attachment (HTML)](https://help.qlik.com/en-US/qlikview/September2026/Subsystems/QMC/Content/QV_QMC/QMC_System_Setup_DistributionServices_E-mailTemplates.htm#AttachmentHTML)
* Attachment (Plain)

  [Attachment (Plain)](https://help.qlik.com/en-US/qlikview/September2026/Subsystems/QMC/Content/QV_QMC/QMC_System_Setup_DistributionServices_E-mailTemplates.htm#AttachmentPlain)
* Notify (HTML)

  [Notify (HTML)](https://help.qlik.com/en-US/qlikview/September2026/Subsystems/QMC/Content/QV_QMC/QMC_System_Setup_DistributionServices_E-mailTemplates.htm#NotifyHTML)
* Notify (Plain)

  [Notify (Plain)](https://help.qlik.com/en-US/qlikview/September2026/Subsystems/QMC/Content/QV_QMC/QMC_System_Setup_DistributionServices_E-mailTemplates.htm#NotifyPlain)
* Alert (HTML)

  [Alert (HTML)](https://help.qlik.com/en-US/qlikview/September2026/Subsystems/QMC/Content/QV_QMC/QMC_System_Setup_DistributionServices_E-mailTemplates.htm#AlertHTML)
* Alert (Plain)

  [Alert (Plain)](https://help.qlik.com/en-US/qlikview/September2026/Subsystems/QMC/Content/QV_QMC/QMC_System_Setup_DistributionServices_E-mailTemplates.htm#AlertPlain)

The contents of a template can be edited using html. The following is a list of the variables that can be used to edit email templates. Not all variables are supported for all email templates. Variables must be inside square brackets as shown below.

* [DocTitle], meaning the title of the document
* [DateTime], meaning the current date and time
* [Location], meaning the QlikView Server folder to which the document has been distributed
* [ResourceName], meaning the QVP resource to which the document has been distributed
* [TaskName] or [JobName], meaning the name of the task
* [Log], meaning the log of the task

## Attachment (HTML)

This template is used when documents are e-mailed.

[Loop Field in Document](https://help.qlik.com/en-US/qlikview/September2026/Subsystems/QMC/Content/QV_QMC/QMC_Documents_SourceDocuments_Distribute_LoopFieldInDocument.htm)

### Subject

Default value: QlikView Publisher: [DocTitle] is attached to this message.

### Body

Default value: Your document "[DocTitle]" has been distributed by QlikView Publisher. The document is attached to this message.&lt;br&gt;&lt;br&gt;Time: [DateTime]&lt;br&gt;

## Attachment (Plain)

This template is used when documents are e-mailed.

[Loop Field in Document](https://help.qlik.com/en-US/qlikview/September2026/Subsystems/QMC/Content/QV_QMC/QMC_Documents_SourceDocuments_Distribute_LoopFieldInDocument.htm)

### Subject

Default value: QlikView Publisher: [DocTitle] is attached to this message.

### Body

Default value: Your document "[DocTitle]" has been distributed by QlikView Publisher. The document is attached to this message. Time: [DateTime]

## Notify (HTML)

This template is used when documents are distributed.

[Notify](https://help.qlik.com/en-US/qlikview/September2026/Subsystems/QMC/Content/QV_QMC/QMC_Documents_SourceDocuments_Distribute_Notify.htm)

### Subject

Value: QlikView Publisher Summary

Information noteThe subject for notification email cannot be modified.

### Body

Default value: Your document &quot;[DocTitle]&quot; has been distributed by QlikView Publisher.&lt;br/&gt;&lt;br/&gt;Location: &lt;a href="[Location]"&gt;[Location]&lt;/a&gt;&lt;br/&gt;Time: [DateTime]

## Notify (Plain)

This template is used when documents are distributed.

[Notify](https://help.qlik.com/en-US/qlikview/September2026/Subsystems/QMC/Content/QV_QMC/QMC_Documents_SourceDocuments_Distribute_Notify.htm)

### Subject

Value: QlikView Publisher Summary

Information noteThe subject for notification email cannot be modified.

### Body

Default value: Your document "[DocTitle]" has been distributed by QlikView Publisher. The document is attached to this message.&lt;br&gt;&lt;br&gt;Time: [DateTime]&lt;br&gt;

## Alert (HTML)

This template is used when e-mail is sent as defined in Alert E-mail.

[Alert E-mail](https://help.qlik.com/en-US/qlikview/September2026/Subsystems/QMC/Content/QV_QMC/QMC_System_Setup_DistributionServices_AlertE-mail.htm)

### Subject

Default value: QlikView Publisher: The task "[TaskName]" failed.

### Body

Default value: The task "[TaskName]" failed

## Alert (Plain)

This template is used when e-mail is sent as defined in Alert E-mail.

[Alert E-mail](https://help.qlik.com/en-US/qlikview/September2026/Subsystems/QMC/Content/QV_QMC/QMC_System_Setup_DistributionServices_AlertE-mail.htm)

### Subject

Default value: QlikView Publisher: The task "[TaskName]" failed.

### Body

Default value: The task "[TaskName]" failed