Hi, did someone knows how i can add attachment files (JPG, AVI etc...) to a
message with Microsoft MAPI Message Control ?
I try this but it dosn't work:
IF !this.parent.signon() && Use the custom method
RETURN
ENDIF
IF this.parent.LogSession && Check if the user was able to login
this.parent.OleMMess.sessionid=this.parent.OleMSess.sessionid
* Start a new mail message and build the text
this.parent.OleMMess.compose
lcMessageText="My message ....bla bla bla"
SET STEP ON
this.parent.OleMMess.msgnotetext=lcMessageText
this.parent.OleMMess.msgsubject="subject.....bla bla bla"
this.parent.OleMMess.attachmentIndex=1
this.parent.OleMMess.attachmentName ="dsc0001.jpg"
this.parent.OleMMess.attachmentPathName="c:\temp\dsc0001.jpg"
this.parent.OleMMess.send(1)
IF this.parent.logsession
this.parent.OleMSess.signoff
ENDIF && Session Handle test
ENDIF
Thanks for your help !