$action.getActionName($action.getClass().getName())

#parse ( "/template/includes/actionerrors.vm" )

$action.getText("viewmailqueue.desc")

#if ($action.page == 'errorqueue')

$action.getText("mail.queue") ($action.getMailQueue().size()) $action.getText("error.queue") ($action.getMailQueue().getErrorQueue().size())

$action.getText("email.subject") | $action.getText("error.message") | $action.getText("date.queued")
--- | --- | ---
#set ($errorQueue = $action.getMailQueue().getErrorQueue()) #if ($errorQueue.size() > 0) #foreach ($queueItem in $errorQueue.getTasks())
$queueItem.getSubject() | $!queueItem.getLastError() | $dateFormatter.formatDateTime($queueItem.getDateQueued())
#end #else
$action.getText("noerrorqueueitems")
#end

#else
$action.getText("mail.queue") ($action.getMailQueue().size()) $action.getText("error.queue") ($action.getMailQueue().getErrorQueue().size())

$action.getText('email.subject') | $action.getText('date.queued')
--- | ---
#if ($action.getMailQueue().size() > 0) #foreach ($queueItem in $action.getMailQueue().getTasks())
$queueItem.getTask().getSubject() | $dateFormatter.formatDateTime($queueItem.getTask().getDateQueued())
#end #else
$action.getText("noqueueitems")
#end

#end #parse ("/breadcrumbs.vm")