Hello,I know there is lotusscript and third party applications, but I want to make sure I am not missing something that’s already built in.
We want to block users from attaching large attachments to memos. Preferably one they hit attach and select the file. OR when they hit send. I know this can be done in iNotes using the server configuration, so one might think you can do it with the client too.
Thanks in advance!
Subject: no built-in way
Unfortunately there is no built-in way.Any server solution would require the message to travel to the server and then back from the server to the client (Non-Delivery-Failure) so it would only waste more bandwidth.
There is a third party solution (ZipMail) that will check the attachment size as soon as you click on “attach” or as soon as you drag a file from the file-system to a new MEMO, or as soon as you copy a file from the file system and you paste it in a new memo (new in R8). So it covers all possible ways of attaching a file.
This utility can be downloaded at www.zipmail.com
HTH
Subject: RE: An idea - Prevent large attachments
Hey JY,On second thought…
In regards to your code, we’re not concerned with sending messages just under our limit as low priority. We just want to prevent sending a certain size; basically the second part of your code. I am still not that good with scripting…would you mind helping out with editting your script?
Thanks!
Subject: Prevent Large Attachments
To avoid modifying the mail template, we do it in server configuration Router Restrictions:
e.g. To delay messages between 10 & 20 MB to after hours, and stop messages > 20 Mb.
Maximum message size: 20000 KB
Send all messages as low priority if the message size is between 10000 KB and the maximum message size.: Enabled
The users get an email saying the message has been delayed or stopped.
No need for scripting.
Subject: Prevent Large Attachments
Thank you both for your responses.
JY - I’ve already tried your coding and it works well, thanks! However, mgmt prefers we not do any coding for this. Especially if there is something already built in like there is for iNotes.
Walter - the preference is to stop the message due to size before it gets to the router;ie, when the user presses Send.