<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<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 class="moz-txt-link-freetext" href="https://github.com/Zimbra/zimbra-zimlet-social-justice">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.<br>
</p>
<p>So no good fixes I am afraid, for now, maybe best to leave it as
is.</p>
<p>Regards, Barry</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 18-12-2023 10:56, Camille Herry
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:496102367.14578.1702893369139.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
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
id="signature-content-62973010-9417-4b62-8a0d-da101106891c">
<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>
</div>
</div>
</blockquote>
</body>
</html>