Record the list of attachments (in EventNotificationEmail) + prerequisite to email-reply

SVN:trunk[2413]
This commit is contained in:
Romain Quetiez
2012-11-08 12:41:51 +00:00
parent 4ac9f0654c
commit 247b1b4d78
7 changed files with 54 additions and 3 deletions

View File

@@ -359,10 +359,13 @@ class ActionEmail extends ActionNotification
if (isset($aContextArgs['attachments']))
{
$aAttachmentReport = array();
foreach($aContextArgs['attachments'] as $oDocument)
{
$oEmail->AddAttachment($oDocument->GetData(), $oDocument->GetFileName(), $oDocument->GetMimeType());
$aAttachmentReport[] = array($oDocument->GetFileName(), $oDocument->GetMimeType(), strlen($oDocument->GetData()));
}
$oLog->Set('attachments', $aAttachmentReport);
}
if (empty($this->m_aMailErrors))