Jump to content

[P.S.1.7.2.0] Bug in Mail Sending Composition(getting extra dots)


MackStores.Com

Recommended Posts

Setup ps1.7.2.0, Xampp in localhost

 

use this for say $image

$image = "http://localhost/prestashop_1.7.2.0/20-large_default/printed-chiffon-dress.jpg"

now use  the mail send with the $image

Mail::Send 

now in the mail::Send we sent '{imagea}' => $image etcetc in array

 

then in html template for email we have

<img alt="{prd_name}" src="{imagea}" width="285">

The whole thing will be outputted in quoted printable format.

<img alt=3D"Printed Chiffon Dress" src=3D"http://localhost/prestashop_1.7.2=
..0/20-large_default/printed-chiffon-dress.jpg"

Notice the src it has two dots now. so it has spoiled the link now making it unusable.  In 1.6 it was not quouted printable and it worked fine

 

the only option I say currently was to use

<img src="{imagea} then alt then width so that the link starts before  " = " that's 70chrs apporx

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...