Papercut-SMTP icon indicating copy to clipboard operation
Papercut-SMTP copied to clipboard

Embedded images not displaying

Open StevePritchard opened this issue 5 years ago • 3 comments

I'm not sure whether this is a Papercut-SMTP issue, or a problem with the way that I'm compiling my email. All I know is that if I send the email to gmail, then it displays as I intended, but Papercut-SMTP doesn't show my attached images.

Inside my email body, I have markup like this:

And inside the Raw content of my email I can see:

----boundary_0_5273848a-b738-4149-91f7-5acb36f848bc Content-Type: image/jpg Content-Transfer-Encoding: base64 Content-Disposition: inline Content-ID: <ed5282b5Xb505X4d35Xb071X2a8e6224bbd5>

/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8U HRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgN DRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIy ...

However, the image isn't rendered correctly in Papercut-SMTP, and I just get a standard missing image "X" instead.

Is there a problem with the way I'm preparing my email content, or does Papercut-SMTP have a problem displaying attachments inline?

Cheers,

Steve.

StevePritchard avatar Sep 03 '20 08:09 StevePritchard

Please attach the EML file and I can take a look.

Jaben avatar Sep 24 '20 03:09 Jaben

Here is a sample file for your review. My guess is that the Papercut is using a webbrowser control and I think the problem is with that control. 20210416173541472 Admin User Password Creation! be9c82.txt

PrasadKhandekar avatar Apr 17 '21 08:04 PrasadKhandekar

@PrasadKhandekar It seems to be a jpeg file, also only the base64 string should be included, the data: should be removed. See: working.txt

1Jesper1 avatar Jun 25 '21 21:06 1Jesper1