Change pdf name


  • Default avatar
    aleso    
     8 years ago
    0

    Hi

    Is it possible, thet i can rename the name of the attached pdf inside an email? no it is attachment.pdf, but i need another name.

    br
  • Your avatar
    seyi    
     8 years ago
    0

    Hello,

    There is not an option to do this, but you can do it directly in the code.

    Find the file www/administrator/components/com_awocoupon/helpers/estore/estoregiftcerthandler.php, around line 398 is this:

    <?php
                    
    if(!empty($pdf_data)) $string_attachments['attachment.pdf'] =  $pdf_data;
    ?>


    You can change attachment.pdf to what you want.
  • Default avatar
    aleso    
     8 years ago
    0

    ok. thanks a lot.

    br