These are chat archives for mirumee/saleor

5th
Oct 2018
saleor217
@saleor217
Oct 05 2018 12:21
is there any one known with the method to send image in email, as current i send my html part to the email - at this case my html design is send as intact as it's needed , only my image tag image was not sent within e-mail. only image block was present there with image source inside it.
Patryk Zawadzki
@patrys
Oct 05 2018 12:24
you can either incldue the image as an inline attachment or link to the external server that hosts your static assets
saleor217
@saleor217
Oct 05 2018 13:16
if i provide my localhost server inside image tag then it's possible
?
Patryk Zawadzki
@patrys
Oct 05 2018 13:33
if you provide localhost then only you will be able to download the image so it won’t work for anyone else and wikely break on webmails like gmail
saleor217
@saleor217
Oct 05 2018 13:34
ok i am facing this problem right now.
i got only image block.
so, if i encode image in base64 then sends it in <img src=""> then is it work ?
Patryk Zawadzki
@patrys
Oct 05 2018 13:57
it will work but may result in rather large email contents