diff --git a/api/application/helpers/pdalerts_helper.php b/api/application/helpers/pdalerts_helper.php index d995cbb4..7adff06f 100644 --- a/api/application/helpers/pdalerts_helper.php +++ b/api/application/helpers/pdalerts_helper.php @@ -529,7 +529,6 @@ class PDALERTS log_message('ERROR','####SALESPD MAIL CALLED'.$salespd_id); $mail = $CI->phpmailer_library->load(); $mail_contents = SELF::salesPDMailContentGrabber($CI,$salespd_id); - //echo "$msg"; if(count($mail_contents)) { $mail->IsSMTP(); // Telling the class to use SMTP @@ -541,6 +540,7 @@ class PDALERTS $mail->Password = "noreply@ssa"; // "The password" $mail->Port = 465; // "The port" $mail_id = 'ssa@venbainfotech.com'; + // $mail_id = 'sanjeev.p@venbainfotech.com'; if(ENVIRONMENT == 'production') { $mail_id = 'cpa@smcfinance.com'; @@ -628,7 +628,7 @@ class PDALERTS $old_pdf_name .= '-'.(date('dmY',strtotime($sales_pd_data[0]['completed_date']))); $old_key = 'sales_pd/'.$sales_pd_id.'/'.$old_pdf_name.'.pdf'; $file_name = $old_pdf_name.'.pdf'; - $singed_uri = $this->aws_s3->getSingleObjectInaBucketAsSignedURI((LENDER_BUCKET_NAME_PREFIX.$sales_pd_data[0]['lender_id']),$old_key,'+5 minutes');; + $singed_uri = $CI->aws_s3->getSingleObjectInaBucketAsSignedURI((LENDER_BUCKET_NAME_PREFIX.$sales_pd_data[0]['lender_id']),$old_key,'+5 minutes');; } //echo $singed_uri; return array($mail_subject,$file_name,$content,$singed_uri);