<thead>
<tr>
<th class="columnID columnEntryID{if $sortField == 'entryID'} active {@$sortOrder}{/if}"><a href="{link controller='EmailLogList'}pageNo={@$pageNo}&sortField=entryID&sortOrder={if $sortField == 'entryID' && $sortOrder == 'ASC'}DESC{else}ASC{/if}{/link}">{lang}wcf.global.objectID{/lang}</a></th>
- <th class="columnTitle columnMessageID{if $sortField == 'messageID'} active {@$sortOrder}{/if}">{lang}wcf.acp.email.log.messageID{/lang}</th>
+ <th class="columnTitle columnSubject{if $sortField == 'subject'} active {@$sortOrder}{/if}">{lang}wcf.acp.email.log.subject{/lang}</th>
<th class="columnText columnRecipient{if $sortField == 'recipient'} active {@$sortOrder}{/if}">{lang}wcf.user.email{/lang}</th>
<th class="columnDate columnTime{if $sortField == 'time'} active {@$sortOrder}{/if}"><a href="{link controller='EmailLogList'}pageNo={@$pageNo}&sortField=time&sortOrder={if $sortField == 'execTime' && $sortOrder == 'ASC'}DESC{else}ASC{/if}{/link}">{lang}wcf.acp.email.log.time{/lang}</a></th>
<th class="columnText columnStatusMessage{if $sortField == 'status'} active {@$sortOrder}{/if}"><a href="{link controller='EmailLogList'}pageNo={@$pageNo}&sortField=status&sortOrder={if $sortField == 'success' && $sortOrder == 'ASC'}DESC{else}ASC{/if}{/link}">{lang}wcf.acp.email.log.status{/lang}</a></th>
<tr class="jsEmailLogEntry">
<td class="columnID columnEntryID">{@$entry->entryID}</td>
<td class="columnTitle columnMessageID">
- <kbd title="{$entry->messageID}">{$entry->getFormattedMessageId()|truncate:50}</kbd>
+ {$entry->subject}<br>
+ <small><kbd title="{$entry->messageID}">{$entry->getFormattedMessageId()|truncate:50}</kbd></small>
</td>
<td class="columnText columnRecipient">
{if $__wcf->session->getPermission('admin.user.canEditMailAddress')}
ObjectIdDatabaseTableColumn::create('entryID'),
NotNullInt10DatabaseTableColumn::create('time'),
NotNullVarchar255DatabaseTableColumn::create('messageID'),
+ NotNullVarchar255DatabaseTableColumn::create('subject'),
NotNullVarchar255DatabaseTableColumn::create('recipient'),
IntDatabaseTableColumn::create('recipientID')
->length(10)
use wcf\system\email\transport\exception\PermanentFailure;
use wcf\system\email\transport\IStatusReportingEmailTransport;
use wcf\system\email\UserMailbox;
+use wcf\util\StringUtil;
/**
* Delivers the given email to the given mailbox.
'data' => [
'time' => \TIME_NOW,
'messageID' => $this->email->getMessageID(),
+ 'subject' => StringUtil::truncate($this->email->getSubject(), 30),
'recipient' => $this->envelopeTo->getAddress(),
'recipientID' => ($this->envelopeTo instanceof UserMailbox) ? $this->envelopeTo->getUser()->userID : null,
'status' => EmailLogEntry::STATUS_NEW,
<item name="wcf.acp.email.smtp.test.error.notTlsSupport"><![CDATA[Der Server unterstützt keine Verschlüsselung.]]></item>
<item name="wcf.acp.email.smtp.test.error.tlsFailed"><![CDATA[Der Aufbau einer verschlüsselten Verbindung war nicht möglich.]]></item>
<item name="wcf.acp.email.log"><![CDATA[Versendete E-Mails]]></item>
- <item name="wcf.acp.email.log.messageID"><![CDATA[Message-ID]]></item>
+ <item name="wcf.acp.email.log.subject"><![CDATA[Betreff]]></item>
<item name="wcf.acp.email.log.time"><![CDATA[Erzeugt]]></item>
<item name="wcf.acp.email.log.status"><![CDATA[Status]]></item>
<item name="wcf.acp.email.log.status.success"><![CDATA[Erfolgreich versendet]]></item>
<item name="wcf.acp.email.smtp.test.error.notTlsSupport"><![CDATA[The server does not support encryption.]]></item>
<item name="wcf.acp.email.smtp.test.error.tlsFailed"><![CDATA[Unable to establish a secure connection.]]></item>
<item name="wcf.acp.email.log"><![CDATA[Emails Sent]]></item>
- <item name="wcf.acp.email.log.messageID"><![CDATA[Message-ID]]></item>
+ <item name="wcf.acp.email.log.subject"><![CDATA[Subject]]></item>
<item name="wcf.acp.email.log.time"><![CDATA[Created]]></item>
<item name="wcf.acp.email.log.status"><![CDATA[Status]]></item>
<item name="wcf.acp.email.log.status.success"><![CDATA[Successfully Sent]]></item>
entryID INT(10) NOT NULL AUTO_INCREMENT PRIMARY KEY,
time INT(10) NOT NULL,
messageID VARCHAR(255) NOT NULL,
+ subject VARCHAR(255) NOT NULL,
recipient VARCHAR(255) NOT NULL,
recipientID INT(10) DEFAULT NULL,
status VARCHAR(255) NOT NULL,