Templates  

Template Name: viewmessage.tpl
Template Type: Page Template
Files used by: view.php
Description: Displays a message
Variables:
[view_menu] Replaces with viewmenu.tpl Not Required
[nextprev] Links to next and/or previous messages in the current folder Not Required
[view_from] Name and email address the email came from Not Required
[view_to] Name and email addresses the email was sent to Not Required
[view_cc] Name and email addresses the email was copied to Not Required
[view_bcc] Name and email addresses the email was blind copied to (used for sent mail folder) Not Required
[view_subject] Subject of the email Not Required
[view_date] Date of the email Not Required
[view_attachments] Any attachments with a link to download the attachment Not Required
[view_styleformat] CSS class which changes depending on HTML or Plain Text Not Required
[view_switchmodes] Replaces with buttons to switch message views between, HTML, Plain Text or HTML with images disabled Not Required
[view_body] Main Body of the email Not Required
[imap_move] JavaScript select box to move a message (IMAP only) Not Required
[view_autopreview] Auto-preview image attachments Not Required
[ifimportance]...[/ifimportance] Conditional variable where HTML contained within these two tags is only displayed if a message has an importance level set Not Required
[ifattachments]...[/ifattachments] Conditional variable where HTML contained within these two tags is only displayed if a message has email attachments Not Required
[ifzip]...[/ifzip] Conditional variable where HTML contained within these two tags is only displayed if DWmail has the ability to Zip files Not Required
[ifhtmlnoimages]...[/ifhtmlnoimages] Conditional variable where HTML contained within these two tags is only displayed if the view mode is currently HTML with Internet images disabled Not Required
[ifhtml]...[/ifhtml] Conditional variable where HTML contained within these two tags is only displayed if the view mode is currently HTML Not Required
[iftext]...[/iftext] Conditional variable where HTML contained within these two tags is only displayed if the view mode is currently text only Not Required
[ifcc]...[/ifcc] Conditional variable where HTML contained within these two tags is only displayed if there are Cc receipients to this message Not Required
[ifbcc]...[/ifbcc] Conditional variable where HTML contained within these two tags is only displayed if there are Bcc receipients to this message (used for sent mail folder) Not Required
[ifcontacts]...[/ifcontacts] Conditional variable where HTML contained within these two tags is only displayed if the addressbook functionality is enabled Not Required
[view_fromname_urlencoded] URLEncoded from name Not Required
[view_fromemail_urlencoded] URLEncoded email address Not Required
[importance_icon] Icon for either low or high importance Not Required
[importance_message] Message displayed if an importance level is set Not Required
[ifcalendarerror]...[/ifcalendarerror] Conditional variable where HTML contained within these two tags is only displayed if there was an error accepting or declining an appointment request or you have already replied to that request Not Required
[error_icon] Error icon Not Required
[calendar_message] Calendar error message Not Required
[ifflagged]...[/ifflagged] Conditional variable where HTML contained within these two tags is only displayed if the current message is marked as flagged Not Required
[ifreplied]...[/ifreplied] Conditional variable where HTML contained within these two tags is only displayed if you have already replied to this message Not Required
[ifcontacts]...[/ifcontacts] Conditional variable where HTML contained within these two tags is only displayed if Addressbook/Contacts are enabled Not Required
[view_fromname_urlencoded] URL encoded from name Not Required
[view_fromemail_urlencoded] URL encoded from email address Not Required
[session_append] Standard session variable Not Required
[ifappointment]...[/ifappointment] Conditional variable where HTML contained within these two tags is only displayed if this is a meeting request Not Required
[view_charset] Character set defined by the email for the main message body Not Required