SizeWarning property problem -URGENT

I am programmatically creating a new mail file from a template and trying to set the Mail file sizequota and sizewarning properties using the Notesdatabase class.

The SizeQuota is setting correctly therefore implying that there is correct access (ie Administrator) but the SizeWarning errors saying you are not authorised. Hence my confusion and need for help.

Thanks in advance

Matt

Subject: SizeWarning property problem -URGENT

late answer: the server needs administrator rights in the server doc (Administrators field) in order to set the SizeWarning property.