Allow utilization of place holder in from and reply_to fields for action emails

SVN:trunk[2254]
This commit is contained in:
Erwan Taloc
2012-10-15 12:27:09 +00:00
parent e33523ddc8
commit 7015a44268

View File

@@ -288,8 +288,8 @@ class ActionEmail extends ActionNotification
$sCC = $this->FindRecipients('cc', $aContextArgs);
$sBCC = $this->FindRecipients('bcc', $aContextArgs);
$sFrom = $this->Get('from');
$sReplyTo = $this->Get('reply_to');
$sFrom = MetaModel::ApplyParams($this->Get('from'), $aContextArgs);
$sReplyTo = MetaModel::ApplyParams($this->Get('reply_to'), $aContextArgs);
$sSubject = MetaModel::ApplyParams($this->Get('subject'), $aContextArgs);
$sBody = MetaModel::ApplyParams($this->Get('body'), $aContextArgs);
@@ -392,4 +392,4 @@ class ActionEmail extends ActionNotification
}
}
}
?>
?>