All,
I wrote some code to send email with attachment. If my default email software is 'Outlook express' it work well. But if my default email software
is 'Microsoft Outlook2000". I got a error message "OLE IDISPATCH EXCEPTION CODE 0 FROM MAPIMESSAGES:UNSPECIFIED FAILURE HAS OCCURRED..!(1429)".
Why?
**********************************
trytolog=Thisform.session.signon
mapimessages1=thisform.message
Mapisession1=thisform.session
mapimessages1.sessionID=Mapisession1.sessionID
mapimessages1.compose
mapimessages1.recipaddress="
abc@abc.com"
mapimessages1.attachmentpathname="c:\internet.txt"
mapimessages1.msgsubject="test"
mapimessages1.msgnotetext="TEST"
mapimessages1.send(1)
trytolog=Thisform.session.signoff
************************************
Regards
Ricky