M
MS Guru
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 = "(e-mail address removed)"
objMsg.Subject = "Test"
objMsg.To = "(e-mail address removed)"
Set oBP = objMsg.AddAttachment("d:\test.pdf")
objMsg.Send
Set objMsg = Nothing
Thanks!
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 = "(e-mail address removed)"
objMsg.Subject = "Test"
objMsg.To = "(e-mail address removed)"
Set oBP = objMsg.AddAttachment("d:\test.pdf")
objMsg.Send
Set objMsg = Nothing
Thanks!