<html><body><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 : camille.herry@univ-lorraine.fr</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 <info@barrydegraaff.nl><br><strong>à: </strong>Zeta <users@lists.zetalliance.org><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">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">camille.herry@univ-lorraine.fr</a></div>
</div>
<br><br></div>
</div>
</div>
</div>
</blockquote>
</blockquote>
</div>
</div></div></body></html>