|
 |
asp_cdo thread: Problem with attachURL
Message #1 by "Gabriel Fojo" <gabriel@t...> on Mon, 11 Jun 2001 17:57:14
|
|
I'm using newmail to send ecards, and attachURL to atach the images, but i
receive an error like this:
Error de compilación de Microsoft VBScript error '800a0401'
Se esperaba un final de instrucción
/cafayate/ecards/email.asp, line 16
objCDOMail.AttachURL
"d:\Inetpub\wwwroot\virtual\www.trialvd.com.ar\cafayate\ecards\cafa_05.jpg"
,
"imagen.jpg"
---------------------------------------------------------------------------
-
-------------------------------^
if someone have a clue about whats going i´ll be very thankful
The server is NT4
regards
Message #2 by "Siegfried Weber" <sweber@c...> on Mon, 11 Jun 2001 23:24:55 +0200
|
|
Try:
objCDOMail.AttachURL
"d:\Inetpub\wwwroot\virtual\www.trialvd.com.ar\cafayate\ecards\cafa_05.j
pg" , "imagen.jpg"
</Siegfried>
> -----Original Message-----
> From: Gabriel Fojo [mailto:gabriel@t...]
> Sent: Monday, June 11, 2001 7:57 PM
> To: ASP CDO
> Subject: [asp_cdo] Problem with attachURL
>
>
> I'm using newmail to send ecards, and attachURL to atach the
> images, but i
> receive an error like this:
>
> Error de compilaci=F3n de Microsoft VBScript error '800a0401'
> Se esperaba un final de instrucci=F3n
> /cafayate/ecards/email.asp, line 16
> objCDOMail.AttachURL =3D
> "d:\Inetpub\wwwroot\virtual\www.trialvd.com.ar\cafayate\ecards
> \cafa_05.jpg"
> ,
> "imagen.jpg"
> --------------------------------------------------------------
> -------------
> -
> -------------------------------^
>
> if someone have a clue about whats going i=B4ll be very thankful
> The server is NT4
>
> regards
Message #3 by "dilip" <dilip@i...> on Tue, 12 Jun 2001 10:36:38 +0530
|
|
objCDOMail.AttachURL
"d:\Inetpub\wwwroot\virtual\www.trialvd.com.ar\cafayate\ecards\cafa_05.j
pg" , "imagen.jpg" should be the Server's Virtual path and not the Clients
Path.
U have to use some component to upload the file from the client to the
server and then
attch it.Happy programming
Message #4 by "Gabriel Fojo" <gabriel@t...> on Tue, 12 Jun 2001 15:04:53 -0300
|
|
Thank You all.
The sintaxis was wrong.
gabriel
"Gabriel Fojo" <gabriel@t...> escribió en el mensaje
news:72824@a..._cdo...
>
> I'm using newmail to send ecards, and attachURL to atach the images, but i
> receive an error like this:
>
> Error de compilación de Microsoft VBScript error '800a0401'
> Se esperaba un final de instrucción
> /cafayate/ecards/email.asp, line 16
> objCDOMail.AttachURL
>
"d:\Inetpub\wwwroot\virtual\www.trialvd.com.ar\cafayate\ecards\cafa_05.jpg"
> ,
> "imagen.jpg"
> --------------------------------------------------------------------------
-
> -
> -------------------------------^
>
> if someone have a clue about whats going i´ll be very thankful
> The server is NT4
>
> regards
>
>
|
|
 |