BUG 3910 Attachments to email messages
this issue was completed and it is working fine
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user