${_('Message Details')}
${_('Message ID')}
${h.wrap_paragraphs(c.mailqitem.messageid, 60)}
${_('Received on')}
${h.format_date(c.mailqitem.timestamp, c.tzinfo)}
${_('Subject')}
${h.wrap_paragraphs(c.mailqitem.subject, 20) or '---'}
${_('From address')}
${h.wrap_paragraphs(c.mailqitem.from_address, 20) or '---'}
${_('To address')}
${h.wrap_paragraphs(h.do_breaks(c.mailqitem.to_address), 20)}
${_('From domain')}
${c.mailqitem.from_domain or '---'}
${_('To domain')}
${c.mailqitem.to_domain or '---'}
${_('Received by')}
${c.mailqitem.hostname}
${_('Size')}
${h.format_byte_size(c.mailqitem.size)}
${_('Number of delivery attempts')}
${c.mailqitem.attempts}
${_('Last delivery attempt at')}
${h.format_date(c.mailqitem.lastattempt, c.tzinfo)}
${_('Reason for queuing')}
${h.linebreaksbr(c.mailqitem.reason) or 'undetermined'}
${_('Process message')}
${h.form(url('mailq-process'), method='post', id="mailqdform")}
${u', '.join([unicode(e) for e in c.form.queue_action.errors]) if c.form.queue_action.errors else h.literal(' ')}
${c.form.queue_action(class_="searchrow")}
${h.HTML.div(c.form.csrf_token, style="display: none;")}
${h.HTML.div(h.hidden('id', c.mailqitem.id), style="display: none;")}
${h.end_form()}\