How do you....
I have a letter.htm file. I want send this as an email but have the HTML file open up and not be an attachment. I have to do this in code using an Outlook Object.
I am currently using the following snippit:
Const olMailItem = 0
Set objOutlook = CreateObject("Outlook.Application"
Set objmessage = objOutlook.CreateItem(olMailItem)
With objmessage
.To = Me.EMAILADDRESS
.Subject = "Congratulations "
.Body [this is where I want the HTML to fit and display]
.Send
End With
.
.
.
.
Anyone have any ideas. I would like to be able to use the file itself rather than parse in all 1000 lines of HTML.
Thanks
I have a letter.htm file. I want send this as an email but have the HTML file open up and not be an attachment. I have to do this in code using an Outlook Object.
I am currently using the following snippit:
Const olMailItem = 0
Set objOutlook = CreateObject("Outlook.Application"
Set objmessage = objOutlook.CreateItem(olMailItem)
With objmessage
.To = Me.EMAILADDRESS
.Subject = "Congratulations "
.Body [this is where I want the HTML to fit and display]
.Send
End With
.
.
.
.
Anyone have any ideas. I would like to be able to use the file itself rather than parse in all 1000 lines of HTML.
Thanks