>Hi,
> Do anyone got sample for how to use MAPI to send an attachment files ?
> I success to send out and email by that is only got mail message.
> What MAPI property i need to consider ?
> Anyone got sample code for this ?
> I wish to automate to send email by MAPI, and is it posible i can automate to dialup into the internet before automate send email ? How to do it ?
> Thanks..
>
>kengwen
Chang,
with MSMMessControl
IF aAttachList[1] = "C"
FOR ix = 1 to alen(aAttachList,1)
IF file(aAttachList[ix])
IF .AttachmentCount > 0
.AttachmentIndex = .AttachmentIndex + 1
ENDIF
.AttachmentPathName = aAttachList[ix]
ENDIF
ENDFOR
ENDIF
endwith
Cetin