Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > SMTP attachments are empty for files > 100K (CDO for W2K)

Reply
Thread Tools

SMTP attachments are empty for files > 100K (CDO for W2K)

 
 
MS Guru
Guest
Posts: n/a
 
      09-04-2003
Hi,
The following simple ASP scripts works fine when the attached file is less than
100K. It fails (no errors or warnings returned) by inserting an empty attachment
when the file is greater than 100K. Users that execute the script are
authenticated by IIS 5.0 using basic authentication. If the user is member of
Administrator group the script work fine no matter what the size of the file is.
Any help is appreciated, especially from MS support.

Dim objMsg, oBP
Set objMsg = Server.CreateObject("CDO.Message")
objMsg.MimeFormatted = True
objMsg.From = ""
objMsg.Subject = "Test"
objMsg.To = ""
Set oBP = objMsg.AddAttachment("d:\test.pdf")
objMsg.Send
Set objMsg = Nothing

Thanks!

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Java Developer--Colonial Heights, VA, contract to hire 100k kin Java 0 02-25-2011 05:56 PM
100k X 100k data processing summary a C Programming 22 11-27-2007 08:58 PM
100K+ Per Year - Simply by locating Used Cisco mexiace Cisco 2 02-06-2005 07:15 PM
timeout sending emails with attachments over 100k Andy Computer Support 2 02-06-2004 06:21 AM
File Attachments MDAC Not Working Past 100K AspDotNetDeveloper ASP General 3 07-23-2003 06:43 PM



Advertisments