Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Classic ASP Professional For advanced coder questions in ASP 3. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old April 9th, 2006, 06:09 PM
Registered User
 
Join Date: Mar 2005
Location: Nashua, NH, USA.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default error sending email with attachment using CDO


Hi All,

I used to use cdonts to send out email from my asp page and had no problem
sending out email with an attachment. I have now converted to using cdo
to send out mail. I get an error message when I use the AddAttachment.
If I don't use the attachment, the email will go through. I get the
following error message when using an attachment:

CDO.Message.1 error '80070020'
The process cannot access the file because it is being used by another
process.

Any help would be appreciated

Thanks in advance,
arch
  #2 (permalink)  
Old May 25th, 2006, 08:16 AM
Authorized User
 
Join Date: Jun 2003
Location: Richmond, VA, USA.
Posts: 79
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to erobb Send a message via Yahoo to erobb
Default

If its a word document be sure there is not a temp file for word in the same directory. ie If you open a word doc it creates a temp file similar to ~$tTools - Screen Shots v1 (2).doc . If there is an old temp file in the same directory as the file you want to email be sure and delete it.

Earl
www.jhdesigninc.com


Similar Threads
Thread Thread Starter Forum Replies Last Post
CDO email attachment encoding fails headstrong Classic ASP Basics 1 March 27th, 2007 05:28 AM
Sending Email from ADP using CDO Scripts82 Access VBA 2 March 29th, 2006 10:50 AM
Issue sending HTML file as attachment in EMail kdhawan_forum VB Components 0 April 8th, 2005 02:02 PM
Need help with sending an Attachment in Email RBC827 Beginning VB 6 2 July 7th, 2004 02:15 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.