acymailing v6


  • Default avatar
    rien23    
     4 years ago
    0

    Hey,


    Is have purchased the awocoupon acymailing plugin but I can not get it working with acymailing V6.

    I see    {awocoupon:[name]_[key]|51|61|[na]|6|[na]|[na]} instead of the coupon code. Do I need to enable something different?

    Is it compatible?


    Best regards,


    Rien

  • Your avatar
    seyi    
     4 years ago
    0

    Hello,

    Just added it.

    Please redownload the acymailing file from:
    https://awodev.com/me/files

    Once downloaded, you will need to open the installation file, go to the acym6 folder and copy the awocoupon directory to:
    administrator / components / com_acym / dynamics /

    You can then create AwoCoupon tags.  Please note the tags in acymaling 6 are different from that of acymailing 5 and below.

  • Default avatar
    rien23    
     4 years ago
    0

    Hey Seyi,


    Thanks for the reply. I think there is a bug. When I include embed it the image link is http:///home/xxxx/domains/xxxx.be/public_html/tmp/1576677602766403196.png

    How can I add the image as an attachment?

    Regards


  • Your avatar
    seyi    
     4 years ago
    0

    In acymailing > configuration, did you enable "Embed images"?
  • Default avatar
    rien23    
     4 years ago
    0

    Ok now I have the image embed. But how can I send it only as attachment?
  • Your avatar
    seyi    
     4 years ago
    0

    So the embed works?
     
    If you do not want to embed but attach instead, in the file administrator / components / com_acym / dynamics /awocoupon/plugin.php, around line 177 is this
    <?php
                    $tags
    $i ] = '<img src="' $r_file '" />';
    ?>

    Change it to this:
    <?php
                    $email
    ->attachment[] = array (
                        0 => $r_file// path,
                        1 => basename$r_file ), // filename
                        2 => basename$r_file ), // name
                        3 => 'base64'// encoding
                        4 => 'image/png'// type
                        5 => false// isStringAttachment
                        6 => 'attachment'// disposition: inline/attachment
                        7 => basename$r_file ), // name
                    );
    ?>

  • Default avatar
    rien23    
     4 years ago
    0

    nice! Thanks.