Peter said:
Set a rule that looks something like the following.
Any email larger then ????? KB or MB
The problem with defining an outbound rule is that it gets exercised AFTER
sending the e-mail. Notice the syntax of a new outbound rule says:
Check messages after sending
The "after" behavior means the rule won't *block* the send of overly large
e-mails. Also, for outbound rules, the only "size" clause you can add is:
with a size <in a specified range>
The problem with that clause is that you have to define a range. You cannot
define a lower limit or threshold beyond which the rule will fire. You want
the rule to fire when the e-mail is over 15000 KB in size but you cannot
just set the "at least" field to that value. Outlook demands that you also
define an upper limit although that is irrelevant in the test that you want
to perform. So you have to use:
at least = 15000 (KB)
at most = 999999 (KB)
Well, think about it. That means the rule won't fire if the e-mail exceeds
999,999 KB (1 TB - 1 KB). That the user's mail server is unlikely to accept
a 1 TB e-mail doesn't mean the user won't try to send one, and Outlook's
rule won't fire. However, this is much less an issue than the fact that
outbound rules fire AFTER the sending mail session has ended so it would be
too late to stop the sending of that overly large e-mail.
For an outbound rule, there is no "do not send" clause. This is true for
Outlook 2003 and earlier versions. Does Outlook 2007 have a more robust
rules set where a "do not send" clause or its equivalent was added for
outbound rules?
The best that I can see for an outbound rule might be something like:
Check messages after sending
with a size at least 15000 and at most 999999 kilobytes
defer delivery by 120 minutes (the max value allowed)
and perform a <custom action>
and stop processing more rules
The custom action would be a macro that alert the user that they sent a
message that exceed the configured "at least" threshold and to delete the
pending deferred e-mail. However, since you'll be into defining a macro to
create a custom action from which you can select for use in this rule, you
might as well as go with Diane's suggestion of using a macro that
interrogates the size of your outbound e-mails (but BEFORE they get sent).