Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Outlook programing help

Status
Not open for further replies.

Shamous

IS-IT--Management
Jun 23, 2001
82
US
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



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top