Limit Attachment size

B

Bassam

Hello

We are using Outlook 2007 with POP3 mail accounts , No Exchange Server

Is there a way when a user press Send to run a VBA code to check if any
attachment in the mail is exceeding certain size limit we specify, say 5
Mega Max. , if so it displayes an error to user and refuse to send the mail

Any help is very appreciated

Thanks
Bassam
 
F

F.H. Muffman

We are using Outlook 2007 with POP3 mail accounts , No Exchange Server
Is there a way when a user press Send to run a VBA code to check if
any attachment in the mail is exceeding certain size limit we specify,
say 5 Mega Max. , if so it displayes an error to user and refuse to
send the mail

Well, sure, but why not put the limit on the SMTP server? That way the only
way clients can override it is by pointing at a different SMTP server which
means that the only resources being abused would be network throughput and
I'd be amazed if a large attachment clogged the pipes that much. Plus, unless
your computers are very well locked down, it'd be too easy for the end user
to skip the code.

I'd make sure the firewall only allows SMTP traffic to your SMTP server,
and force the rules there.

If you really want it in Outlook, I'd look at the microsoft.public.outlook.program_vba
or http://www.outlookcode.com.
 
B

Brian Tillman [MVP - Outlook]

Is there a way when a user press Send to run a VBA code to check if any
attachment in the mail is exceeding certain size limit we specify, say 5
Mega Max. , if so it displayes an error to user and refuse to send the mail

http://www.outlookcode.com/ is the place to start looking.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top