Closed GustavoCinque closed 3 years ago
Hi!
Got it to work, but had to use cid on the images and the pug file. So I'll close te issue.
hi @GustavoCinque
how did you fix this issue can you share your code?
hi @GustavoCinque
how did you fix this issue can you share your code?
Hello! Unfortunaly I don't have the source code anymore, and I'm not working for the same company as before.
@GustavoCinque
Do you remember how to fix?
i need to know where to add cid
It's probably in the url's path (or src's path, in case of the img tag). If not, there is a few other issues on this github page that has use of cid.
Or, I added all the images as attachments to the email, gave each of them a cid in-code, and then used "cid:firstImage" on the template.
<img alt="LinkedIn"
src="https://cdn.jsdelivr.net/gh/crocodilejs/font-awesome-assets@master/media/rainbow/linkedin-square.svg">
this is my tag where to add?
Oh, yours is an url... I don't know how then. The ones I used were static images.
ok thanks @GustavoCinque
Hi.
I know it's a topic already discussed on the repo issues, but I'm trying to apply the solutions but nothing is working. So I want to try and ask here.
I'm using a pug file, and the not rendered images are as follows:
It may be a path error, but I highly doubt it. As soon as I change the image for something incorrect, it shows up not found when it runs (i.e.
Not found, skipping: imagesd/facebook2x.png
).My structure is at the moment:
My email is create as:
I tried to use the debug flag, but could not get it to work, says it doesn't recognize DEBUG as a internal or external program , etc. Using
DEBUG=* node dist/main/server.js
.What am I doing wrong?