<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p><span class="HwtZe" lang="en"><span class="jCAhz ChMk0b"><span
class="ryNqvb">Is it possible with Attachment Alert Zimlet
to identify the current message or not ?</span></span></span></p>
<p><span class="HwtZe" lang="en"><span class="jCAhz ChMk0b"><span
class="ryNqvb">No, it will see the entire message, but it
does not see the difference between the newly typed message
and the replies. It could be done via regex, but it will not
be 100% reliable.<br>
</span></span></span></p>
<div class="moz-cite-prefix">On 12-01-2024 13:15, Camille Herry
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:803402201.21876.1705056076350.JavaMail.zimbra@univ-lorraine.fr">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div
style="font-size: 10pt; font-family: arial, helvetica, sans-serif; color: rgb(0, 0, 0);">
<div>Hello Barry,</div>
<div> </div>
<div><span class="HwtZe" lang="en"><span class="jCAhz ChMk0b"><span
class="ryNqvb">Thank you for this feedback, what do you
mean by “it is not easy to see if the attachment word is
in the current message or in one of the replies”.</span></span></span></div>
<div><span class="HwtZe" lang="en"> </span></div>
<div><span class="HwtZe" lang="en"> <span class="jCAhz ChMk0b"><span
class="ryNqvb">Is it possible with Attachment Alert
Zimlet to identify the current message or not ?</span></span></span></div>
<div> </div>
<div>
<div
style="font-size: 10pt; font-family: 'arial' , 'helvetica' , sans-serif; color: #000000;"><span
class="HwtZe" lang="en"><span class="jCAhz ChMk0b"><span
class="ryNqvb">Thanks in advance,</span></span> </span></div>
<div
style="font-size: 10pt; font-family: 'arial' , 'helvetica' , sans-serif; color: #000000;"><span
class="HwtZe" lang="en"><span class="jCAhz ChMk0b"><span
class="ryNqvb"> </span></span></span></div>
<div
style="font-size: 10pt; font-family: 'arial' , 'helvetica' , sans-serif; color: #000000;"><span
class="HwtZe" lang="en"><span class="jCAhz ChMk0b"><span
class="ryNqvb">Best regards,</span></span></span></div>
</div>
<div id="signature-content-62973010-9417-4b62-8a0d-da101106891c"
data-marker="__SIG_PRE__">
<div>
<div>---<br>
Camille HERRY<br>
Université de Lorraine - Direction du Numérique<br>
Sous-Direction Infrastructures & Services<br>
<br>
24-30 rue Lionnois - 54003 Nancy Cedex<br>
<br>
Tel : +33 3 72 74 11 34<br>
Mail : <a class="moz-txt-link-abbreviated" href="mailto:camille.herry@univ-lorraine.fr">camille.herry@univ-lorraine.fr</a></div>
</div>
<br>
<br>
</div>
<div id="OLK_SRC_BODY_SECTION">
<div id="OLK_SRC_BODY_SECTION">
<blockquote
style="margin: 0 0 0 0.8em; border-left: 1px #ccc solid; padding-left: 1em;">
<hr id="MESSAGE_DATA_MARKER"><strong>De: </strong>Barry
<a class="moz-txt-link-rfc2396E" href="mailto:info@barrydegraaff.nl"><info@barrydegraaff.nl></a><br>
<strong>à: </strong>Zeta
<a class="moz-txt-link-rfc2396E" href="mailto:users@lists.zetalliance.org"><users@lists.zetalliance.org></a><br>
<strong>Envoyé: </strong>jeudi 11 janvier 2024 13:15 CET<br>
<strong>Sujet : </strong>Re: [Users] Report Bug to zimlet
Attachment Alert (ModernUI)<br>
<br>
<p>Hello Camille,</p>
<p>Sorry for the late reply, the Attachment Alert Zimlet
is implemented using
zimletEventEmitter.on(ZIMBRA_ZIMLET_EVENTS.ONBEFORESEND...</p>
<p>The only thing passed via the event into the Zimlet is
the actual message, meaning the Zimlet does not have
access to the composer and because of this, it is not
easy to see if the attachment word is in the current
message or in one of the replies.</p>
<p>Possible fixes would be, writing a new Zimlet, but base
it on <a
href="https://github.com/Zimbra/zimbra-zimlet-social-justice"
target="_blank" rel="noopener noreferrer"
moz-do-not-send="true" class="moz-txt-link-freetext">https://github.com/Zimbra/zimbra-zimlet-social-justice</a>
then a message could be shown on the screen if the word
attachment is found but it will not do anything once the
user hits send. Alternatively one could only trigger the
attachment alert if the attachment word is found in the
first 100/200 characters of the email... but that is
buggy.</p>
<p>So no good fixes I am afraid, for now, maybe best to
leave it as is.</p>
<p>Regards, Barry</p>
<p> </p>
<div class="moz-cite-prefix">On 18-12-2023 10:56, Camille
Herry wrote:</div>
<blockquote>
<div
style="font-size: 10pt; font-family: 'arial' , 'helvetica' , sans-serif; color: #000000;">
<div
style="font-size: 10pt; font-family: 'arial' , 'helvetica' , sans-serif; color: #000000;">
<div
style="font-size: 10pt; font-family: 'arial' , 'helvetica' , sans-serif; color: #000000;">
<div>
<div>
<div>Hello,</div>
<div> </div>
<div>We have test the zimlet attachment alerts
(ModernUI) and she is really good, however I
noticed a bug, which popup display alert
when the pattern that we have configured is
in the email currently being written and
also in the email history.</div>
<div>In my opinion, the popup should have an
effect only for the current input.<br>
<br>
<span class="HwtZe" lang="en"><span
class="jCAhz ChMk0b"><span
class="ryNqvb">Would it be possible to
make this fix?</span></span></span></div>
</div>
</div>
</div>
<div
style="font-size: 10pt; font-family: 'arial' , 'helvetica' , sans-serif; color: #000000;"><span
class="HwtZe" lang="en"><span
class="jCAhz ChMk0b"><span class="ryNqvb"> </span></span></span></div>
<div
style="font-size: 10pt; font-family: 'arial' , 'helvetica' , sans-serif; color: #000000;"><span
class="HwtZe" lang="en"><span
class="jCAhz ChMk0b"><span class="ryNqvb">Thanks
in advance,</span></span> </span></div>
<div
style="font-size: 10pt; font-family: 'arial' , 'helvetica' , sans-serif; color: #000000;"><span
class="HwtZe" lang="en"><span
class="jCAhz ChMk0b"><span class="ryNqvb"> </span></span></span></div>
<div
style="font-size: 10pt; font-family: 'arial' , 'helvetica' , sans-serif; color: #000000;"><span
class="HwtZe" lang="en"><span
class="jCAhz ChMk0b"><span class="ryNqvb">Best
regards,</span></span></span></div>
<div
style="font-size: 10pt; font-family: 'arial' , 'helvetica' , sans-serif; color: #000000;"><br>
<div>
<div>
<div>---<br>
Camille HERRY<br>
Université de Lorraine - Direction du
Numérique<br>
Sous-Direction Infrastructures &
Services<br>
<br>
24-30 rue Lionnois - 54003 Nancy Cedex<br>
<br>
Tel : +33 3 72 74 11 34<br>
Mail : <a
href="mailto:camille.herry@univ-lorraine.fr" target="_blank"
rel="noopener noreferrer"
moz-do-not-send="true"
class="moz-txt-link-freetext">camille.herry@univ-lorraine.fr</a></div>
</div>
<br>
<br>
</div>
</div>
</div>
</div>
</blockquote>
</blockquote>
</div>
</div>
</div>
</blockquote>
</body>
</html>