Ver Mensaje Individual
  #2 (permalink)  
Antiguo 07/03/2002, 20:06
Avatar de Aston
Aston
 
Fecha de Ingreso: mayo-2001
Ubicación: Madrid
Mensajes: 933
Antigüedad: 23 años, 11 meses
Puntos: 0
Re: Adjuntar archivos con CDO.Message

Hola, no puedes porque el método que usas para adjuntar el fichero no es el correcto. El método para CDonts es AttachFile

Te adjunto documentación del método:

objNewMail.AttachFile(Source [, FileName] [, EncodingMethod] )

objNewMail
Required. This NewMail object.
Source
Required. IStream object or String. The full path and file name of the file to be attached to the message, or a pointer to an IStream object containing the file data.
FileName
Optional. String. The file name to appear in the attachment's placeholder in the message. If FileName is not supplied, the file name from the Source parameter is used.
EncodingMethod
Optional. Long. The manner of encoding the attachment. The following values are possible: EncodingMethod setting Value Description
CdoEncodingUUencode 0 The attachment is to be in UUEncode format (default).
CdoEncodingBase64 1 The attachment is to be in base 64 format.

Espero te sirva, un saludo. ;)


<a href="http://www.laventanita.net/" target="_blank">
<img src="http://www.breogan.org/images/Aston.gif" border="0" alt="La Ventanita.net - Lo imprescindible en la red"></a>