Mail Size control (attachments) through inotes

Hi all,inotes is going to be introduced in our organisation. Before that we would like to customise the inotes template. Specifically to control the size of the mails. We would like to include a validation not to send mails more than a specified limit like say 1 MB.

I have seen an agent in the WebQuerySave event called “wmemo” But I dont seem to find it anywhere in the code. There is ofcourse another agent (wmemo) that loads in the WebQueryOpen agent…

Funnily if i try deleting the wmemo agent from the webquerysave event then too everything works out fine. Then what is the use of this agent and where is it residing.

More importantly where do i put this size validation?

Pls help as we have to roll out inotes very soon…

Subject: Mail Size control (attachments) through inotes

Farooq,

a more conservative approach might be not to change the iNotes template (which is not really recommended), but to configure the router to not accept messages larger than a certain size.

Go to Domino Administrator, Configuration, Messaging Settings, then Restrictions and Controls, Restriction and set the “maximum message size” value accordingly.

Finally, restart your router.

Have fun,

Stephan

Subject: RE: Mail Size control (attachments) through inotes

Stephen,

Thanks for your reply.

But restricting it at the server level will mean all other applications will would come under this rule & this is exactly what we do not want to happen.

Why is it not recommended not to modify the inotes template if I may ask?

Any other help would be appreciated on this issue.

Thanks

Subject: RE: Mail Size control (attachments) through inotes

Farooq,

this is true - the router limitation will limit all mails, including those from Notes clients or the internet.

There are two more “administrative” tricks you could try:

Server document - HTTP tab, HTTP protocol limits, set “maximum size of request content” field, and

Internet Protocols - Domino web engine, Post Data, “Maximum POST data” field.

I recall that Lotus/IBM has heavily stated that the iNotes template was not designed to be customized.

There has, however, been added some customization capabilities with a later version, but I do not exactly recall which version that was. You perhaps want to check this redbook for more details on iNotes customization:

http://publib-b.boulder.ibm.com/Redbooks.nsf/RedbookAbstracts/sg246518.html?Open

good luck,

Stephan

Subject: Mail Size control (attachments) through inotes

Farooq,

For this activity,you need not to change inotes template.you have to made simple changes in the mail template & replace this changes to all mail nsf of the server.

Process…

Create one text ,editable field named “MemoSize” and put @DocLength formula according to your requirement in the "input validation " of this field like @if(@IsDocBeingMailed;@if(@docLength > …) condition.

enjoy…

sanjit