Home | Advertising Info349 USERS CURRENTLY ONLINE   
   Site Search Contact Us Wednesday, December 19, 2018  

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


We didn't realize
the site was so popular.

Other Stuff

Active Server Pages ASP ASP.NET .aspx .ascx Web HTML Developer Internet Microsoft Web Services Visual Studio .NET CJWSoft ASPProtect ASPBanner ASPClassifieds

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


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


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.


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 - 2018 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 what is asp programming how to sample asp example code scripts software asp forum mail sessions applications global.asa 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