|
|
|
|
|
| | |
| |
vbscript active server pages ASP vbscript SQL database informix oracle SQL Server Perl CGI Delphi PHP source code code sample samples program 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 |
|
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
|
|

|
|
|
|
|
|
|
|
|
|
|
|
|