Error al mandar Correo. Por favor , ayuda
Publicado por BRIGI (172 intervenciones) el 28/05/2003 16:50:23
hola tengo el siguiente codigo para mandar hasta 20 ficheros adjuntos en un fichero
_screen.forms(1).mapi_session.signon()
WITH _screen.forms(1).mapi_message
.msgindex=-1
.recipdisplayname= ccorreo
.msgsubject = ALLTRIM(asunto)
.msgNotetext = ALLTRIM(texto)
.sessionid= _screen.forms(1).mapi_session.sessionid
FOR lncount= 2 TO 20
IF FILE(xarchivo(lncount))
.AttachmentIndex = lncount - 1
.AttachmentPathName = xarchivo(lncount)
.AttachmentPosition = lncount
ENDIF
ENDFOR
.send(.f.)
ENDWITH
_screen.forms(1).mapi_session.signoff()
Me da el siguiente error 'invalid property value' en la instruccion
AttachmentPosition = lncount
¿a que se debe????
por favor ayudadme
_screen.forms(1).mapi_session.signon()
WITH _screen.forms(1).mapi_message
.msgindex=-1
.recipdisplayname= ccorreo
.msgsubject = ALLTRIM(asunto)
.msgNotetext = ALLTRIM(texto)
.sessionid= _screen.forms(1).mapi_session.sessionid
FOR lncount= 2 TO 20
IF FILE(xarchivo(lncount))
.AttachmentIndex = lncount - 1
.AttachmentPathName = xarchivo(lncount)
.AttachmentPosition = lncount
ENDIF
ENDFOR
.send(.f.)
ENDWITH
_screen.forms(1).mapi_session.signoff()
Me da el siguiente error 'invalid property value' en la instruccion
AttachmentPosition = lncount
¿a que se debe????
por favor ayudadme
Valora esta pregunta


0