diff --git a/src/applications/metamta/PhabricatorMetaMTAWorker.php b/src/applications/metamta/PhabricatorMetaMTAWorker.php index f3075033b3..50e0b38230 100644 --- a/src/applications/metamta/PhabricatorMetaMTAWorker.php +++ b/src/applications/metamta/PhabricatorMetaMTAWorker.php @@ -43,9 +43,10 @@ final class PhabricatorMetaMTAWorker public function renderForDisplay() { return phutil_tag( - 'a', - array('href' => '/mail/view/'.$this->getTaskData().'/'), - $this->getTaskData()); + 'pre', + array( + ), + 'phabricator/ $ ./bin/mail show-outbound --id '.$this->getTaskData()); } } diff --git a/src/applications/metamta/management/PhabricatorMailManagementShowOutboundWorkflow.php b/src/applications/metamta/management/PhabricatorMailManagementShowOutboundWorkflow.php index 81967b2bdb..8ab0a973e4 100644 --- a/src/applications/metamta/management/PhabricatorMailManagementShowOutboundWorkflow.php +++ b/src/applications/metamta/management/PhabricatorMailManagementShowOutboundWorkflow.php @@ -90,7 +90,7 @@ final class PhabricatorMailManagementShowOutboundWorkflow $info[] = null; $info[] = pht('ATTACHMENTS'); foreach ($attachments as $attachment) { - $info[] = $attachment['filename']; + $info[] = idx($attachment, 'filename', pht('Unnamed File')); } }