Images not shown in mails sent from Znuny

Moderator: crythias

Post Reply
martinv2
Znuny newbie
Posts: 19
Joined: 30 Jun 2014, 14:49
Znuny Version: 6.4.4
Real Name: Martin Vorländer
Company: PDV-Systeme GmbH
Contact:

Images not shown in mails sent from Znuny

Post by martinv2 »

Hi!

When a mail that contains images is sent by an agent, the mail body contains a tag like

Code: Select all

<img alt="" height="..." width="..." src="https://OTRS_HOST/otrs/index.pl?Action=AgentTicketAttachment;Subaction=HTMLView;TicketID=...;ArticleID=...;FileID=.." />
However, when the mail is opened in an email client this URL is not valid without logging in as an agent - which means the image will not be shown.

Is there a way to tell Znuny to embed images into mails?

Znuny 6.4.4, Ubuntu 20.0.4, MariaDB 10.3.39, Perl 5.30.0

TIA,
Martin
Znuny 6.4.4, Ubuntu 20.04.5 LTS with MariaDB 10.3.37
hkais
Znuny wizard
Posts: 349
Joined: 16 Apr 2016, 08:55
Znuny Version: see in post
Real Name: Hans
Contact:

Re: Images not shown in mails sent from Znuny

Post by hkais »

martinv2 wrote: 28 Apr 2025, 11:01 Is there a way to tell Znuny to embed images into mails?
Afaik no

But your issue sounds odd to me.
Do you reference images on your Znuny host? Since you name OTRS_HOST in the src=

Can you elaborate what you are doing here?
Elected 2022-06 as an IT Governance Portal Expert. The portal for Znuny, OTRS and OTOBO power users and admins
Specialized for AI-based Solutions with Znuny

IT Governance Portal
joergflorian
Znuny newbie
Posts: 36
Joined: 08 Jul 2021, 08:05
Znuny Version: 6.5.8 LTS
Real Name: Florian

Re: Images not shown in mails sent from Znuny

Post by joergflorian »

I see a similar behavior in Znuny 6.5.x.
When selecting and copying text and pictures from an article (or a FAQ entry) and paste it to a reply, the receiver does not see the pictures in his E-Mail as Znuny does not attach/embed the pictures.

Pretty odd sometimes.

Best regards
Florian
hkais
Znuny wizard
Posts: 349
Joined: 16 Apr 2016, 08:55
Znuny Version: see in post
Real Name: Hans
Contact:

Re: Images not shown in mails sent from Znuny

Post by hkais »

joergflorian wrote: 09 May 2025, 07:30 I see a similar behavior in Znuny 6.5.x.
When selecting and copying text and pictures from an article (or a FAQ entry) and paste it to a reply, the receiver does not see the pictures in his E-Mail as Znuny does not attach/embed the pictures.
you refer copy and pasting, this maybe an issue with the WYSIWYG editor
And it could also be related to my issue here: viewtopic.php?t=44421

can you check tihs too and reply to the other thread too?
Elected 2022-06 as an IT Governance Portal Expert. The portal for Znuny, OTRS and OTOBO power users and admins
Specialized for AI-based Solutions with Znuny

IT Governance Portal
joergflorian
Znuny newbie
Posts: 36
Joined: 08 Jul 2021, 08:05
Znuny Version: 6.5.8 LTS
Real Name: Florian

Re: Images not shown in mails sent from Znuny

Post by joergflorian »

hkais wrote: 09 May 2025, 11:13
joergflorian wrote: 09 May 2025, 07:30 I see a similar behavior in Znuny 6.5.x.
When selecting and copying text and pictures from an article (or a FAQ entry) and paste it to a reply, the receiver does not see the pictures in his E-Mail as Znuny does not attach/embed the pictures.
you refer to copy and pasting, this maybe an issue with the WYSIWYG editor
And it could also be related to my issue here: viewtopic.php?t=44421

can you check tihs too and reply to the other thread too?
I'm not sure if this is the same topic. My issue is that when I copy a paster from an article and paster it into are reply to a customer it seems to insert it with a local path and is not embedding the picture. As result, the customer can not see the pictures as it's path points to an absolute path in the Znuny system.

When I copy a picture and check the source in the editor, it shows something like that

Code: Select all

<img alt="Logo XYZ" src="https://znunysystem/otrs/index.pl?Action=AgentTicketAttachment;Subaction=HTMLView;TicketID=35910;ArticleID=146656;FileID=2" />
Post Reply