<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Alex,<br>
<br>
Thank you for your answer. I forgot to tell you that we are
running the 3.8.11 version of RT (our dev team is working on an
upgrade but it's going to take time and we cannot afford to wait
for the migration...).<br>
So do you think that a script would be possible ? <br>
<br>
Thanks for your time,<br>
<br>
Best regards<br>
<pre class="moz-signature" cols="72">Loic Cadoret
IT Technician
Keyyo</pre>
<div class="moz-signature"><span style="font-family: Calibri,
sans-serif; font-size: 11pt; font-weight: bold;
color:#000000;"></span><style="font-family: calibri,=""
sans-serif;="" font-size:="" 10pt;="" margin-top:5px;"=""><br>
</style="font-family:>
</div>
Le 06/03/2015 18:10, Alex Vandiver a écrit :<br>
</div>
<blockquote cite="mid:20150306121026.0254958c@umgah.localdomain"
type="cite">
<pre wrap="">On Fri, 06 Mar 2015 12:42:38 +0100 Loïc Cadoret <a class="moz-txt-link-rfc2396E" href="mailto:lcadoret@keyyo.com"><lcadoret@keyyo.com></a>
wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Greetings rt-users followers,
I would like to create a script that check out if the max attachment
size of a response is reached and if so, send an autoreply to the
requestor informing him that his documents are too heavy. Indeed,
customers send documents to our customer services but sometimes the
transaction is droped by the system because max attachment is reached
and neither the customer service or the client is notified of it.
</pre>
</blockquote>
<pre wrap="">
Starting in RT 4.2.7, RT records explicit transactions when attachments
are dropped or truncated due to hitting $MaxAttachmentSize. While we
explicitly prevent such transactions from triggering scrips (to prevent
infinite loops), you can likely use them as the basis of your
notifications -- or, at least the signal to the RT users to notify
customers of the drop.
- Alex
</pre>
</blockquote>
<br>
</body>
</html>