if i change line objMsg.Body = strBody
to objMsg.CreateHTMLBody "file//e:/temp/mit/upload/16122016_0834.htm"
i get this error
>>microsoft VBScript runtime error: 438
object doesn't support this property or method objMsg. CreateHTMLBody

VB Script
VBStart
Function CreateEmail(strTo, strSubj, strBody, html, strbodyhtml)
'Create OL App object
Set objOLApp = CreateObject("Outlook.Application")
If objOLApp is nothing then
MsgBox "Could not create OL App. Shutting Down"
Exit Function
End If
'Create a new mail item
Set objMsg = objOLApp.CreateItem(0)
If objMsg is nothing then
MsgBox "Could not create Mail Item. Shutting Down"
Exit Function
End If
'Set basic message parameters
objMsg.To = strTo
objMsg.Subject = strSubj
'objMsg.Body = strBody
objMsg.CreateHTMLBody "file//e:/temp/mit/upload/16122016_0834.htm"
''Send the message
objMsg.Send
''Free up the space
Set objOLApp = Nothing
Set objMsg = Nothing
CreateEmail = "Success"
End Function
VBEnd