BUG 3910 Attachments to email messages

this issue was completed and it is working fine
This commit is contained in:
Carlos Pacha
2011-08-08 18:51:04 -04:00
parent 5c257c6f1d
commit 8dc61e7ddc
3 changed files with 12 additions and 12 deletions

View File

@@ -596,7 +596,7 @@ class wsBase
* @param $appFields = null
* @return $result will return an object
*/
public function sendMessage($caseId, $sFrom, $sTo, $sCc, $sBcc, $sSubject, $sTemplate, $appFields = null ) {
public function sendMessage($caseId, $sFrom, $sTo, $sCc, $sBcc, $sSubject, $sTemplate, $appFields = null, $sAttachment ) {
try {
$aSetup = getEmailConfiguration();
@@ -671,11 +671,10 @@ class wsBase
'app_msg_body' => $sBody,
'app_msg_cc' => $sCc,
'app_msg_bcc' => $sBcc,
'app_msg_attach' => '',
'app_msg_attach' => $sAttachment,
'app_msg_template' => '',
'app_msg_status' => 'pending'
);
$oSpool->create( $messageArray );
$oSpool->sendMail();
@@ -691,7 +690,6 @@ class wsBase
}
}
/*
* get case information
* @param string $caseId