Home | Advertising Info57 USERS CURRENTLY ONLINE   
   Site Search Contact Us Friday, March 14, 2025  
 
 


 
ASPProtect
User Management Application with web based screens that allow you to manage users.
www.ASPProtect.com
 
ASPBanner
Banner Rotation system. Advertisers can monitor online statistical reports via their web browsers.
www.ASPBanner.com
 
ASP Photo Gallery
Upload an unlimited amount of albums. Set up categories.Image resizing thumbnail creation.
www.ASPPhotoGallery.com
 
ASPClassifieds
Classifieds system. Set up categories. Users can register themselves. Supports picture uploads.
www.ASPClassifieds.com



DISCUSSION ARCHIVES
 



We didn't realize
the site was so popular.

Other Stuff
 

 
 
Active Server Pages ASP a directory of ASP tutorials applications scripts components and articles for the novice to professional developer. CJWSoft ASPProtect ASPBanner ASPClassifieds



(Advanced)  (Components)  (Database)  (General)  (Vbscript)




ASPProtect

 
Subject: Re: CDONTS attachFile not working
From: Doug
Date: 3/11/1999 12:45:04 PM
IP: 209.214.50.48



 

Weird stuff is happenning here!
According to this site (Power ASP), you specify an attachment like:
objEmail.AttachFile = "Filename"
This works if the file is a one word text file created in notepad. If I replace "Filename" with a jpeg like "12345.jpg" it fails with the error posted earlier.
If I surround the "Filename" with parens like WROX's Active Server Pages 2.0 and the MSDN Library show such as objEmail.Attachfile("Path/Filename", "Filename") I get this error message:
Microsoft VBScript compilation error '800a0414'

Cannot use parens when calling a Sub

/test2.asp, line 13

I'm pulling my hair out here! All I really want to do is attach a simple jpeg file to an email. The AttachFile method of CDONTS should allow this! I've also tried changing the mime type, but the same errors persist.
I do not have access to the server or I would use one of the third party components to accomplish this.
Input from anyone would be appreciated.

Doug

Previous Message

Follow Up - Re: CDONTS attachFile not working - Harlan 3/11/1999 2:04:08 PM


 

   Active Server Pages Rule The World
Contact Us  
All artwork, design & content contained in this site are Copyright © 1998 - 2025 PowerASP.com and Christopher J. Williams
Banner ads ,other site logos, etc are copyright of their respective companies.
STATS Unless otherwise noted - All Rights Reserved.

Active Server Pages help tutorial how to ASP Help ASP Tutorials ASP Programming ASP Code - ASP Free CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspclassifieds.com, www.powerasp.com,www.cjwsoft.com,www.aspphotogallery.com,www.codewanker.com,www.aspprotect.com,www.aspbanner.com