Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_cdo thread: CDONTS attachment size limited by account type


Message #1 by "gummylick" <gummylick@e...> on Mon, 9 Dec 2002 15:40:04
I've been using CDONTs for awhile but this is the first time I've come to 
this problem:

I have a script that retrieves information from a database, creates 
a .csv file and sends it along with a macro'ed .doc to the user by 
email.  This is available on our intranet, so the user must log on using 
NT security/account.  When I log on as me (administrator) to the website 
from a client machine, run the script, the script sends me emails without 
any problem.  However, when I log on as a user, I can send all emails 
with no problem.. until the attachment reaches approximately 90kb.  Then, 
ASP gives me a '80004005 undefined error'.  

I've traced what line this error occurs on, and it's always the line with 
the larger attachment (the csv I created).  I have already tried changing 
the extension of the file and playing with permissions on the folders 
it's in.  However if it were the folder permissions that were a problem, 
I wouldn't be able to send attachments at all, right now I can send 
attachments as a user, as long as they're under 90kb.

I found the 90kb limit but getting a jpg (microsoft 'my pictures' sample) 
and resizing it in increments and sending it with the script.  I can send 
the jpg until it reaches about 90-94kb, then I get the 80004005 error.

This one has got me completely stumped, I've been researching it for 
days.  Any suggestions are gladly welcomed.

We have:
Exchange Server 2000
No File Limits on our SMTP Virtual Server
Win98 (server) Win98/XP(clients)

  Return to Index