Plugin Directory

Changeset 2162112


Ignore:
Timestamp:
09/24/2019 12:23:44 PM (7 years ago)
Author:
aditya.dugar
Message:

Bug Fixed

Location:
stars-smtp-mailer/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • stars-smtp-mailer/trunk/action/stars-class-table-layout.php

    r2162094 r2162112  
    249249                                    foreach($attachment as $att){
    250250                                        $att = explode("/",$att);
    251                                         if(file_exists(stars_smtpm_get_upload_path()."\\".$att[count($att)-1]))unlink(stars_smtpm_get_upload_path()."\\".$att[count($att)-1]);
     251                                        if(file_exists(stars_smtpm_get_upload_path()."/".$att[count($att)-1]))unlink(stars_smtpm_get_upload_path()."/".$att[count($att)-1]);
    252252                                    }
    253253                                }
     
    291291                        foreach($attachment as $att){
    292292                            $att = explode("/",$att);
    293                             if(file_exists(stars_smtpm_get_upload_path()."\\".$att[count($att)-1]))unlink(stars_smtpm_get_upload_path()."\\".$att[count($att)-1]);
     293                            if(file_exists(stars_smtpm_get_upload_path()."/".$att[count($att)-1]))unlink(stars_smtpm_get_upload_path()."/".$att[count($att)-1]);
    294294                        }
    295295                    }
  • stars-smtp-mailer/trunk/action/stars_function.php

    r2162094 r2162112  
    384384                    try {
    385385                        $phpmailer->addAttachment($attachment);
    386                        
    387                         $temp     = explode("\\",str_replace("/","\\",$attachment));
    388                         $fileName = $temp[count($temp)-1];
     386                                               
     387                        $fileName = basename($attachment);
    389388                        if( file_exists(stars_smtpm_get_upload_path()."\\".$fileName) ){
    390389                            $attachmentData[$fileName] = stars_smtpm_get_upload_path(true)."/".$fileName;
  • stars-smtp-mailer/trunk/readme.txt

    r2162094 r2162112  
    99Stable tag: trunk
    1010Homepage: https://myriadsolutionz.com/stars-smtp-mailer
    11 Version: 1.4
     11Version: 1.5
    1212
    1313
     
    3939
    4040== Upgrade Notice ==
     41= 1.5 =
     42* Bug fixes and performance improvement
    4143= 1.4 =
    4244* Added functionality to keep records of attachments in email log
     
    5456
    5557== Changelog ==
     58= 1.5 =
     59* Bug fixes and performance improvement
    5660= 1.4 =
    5761* Added functionality to keep records of attachments in email log
  • stars-smtp-mailer/trunk/stars_smtp_mailer.php

    r2162094 r2162112  
    77  Author: Myriad Solutionz
    88  Author URI: https://myriadsolutionz.com/
    9   Version: 1.4
     9  Version: 1.5
    1010 */
    1111
Note: See TracChangeset for help on using the changeset viewer.