E
Eirik
Hello!
I want to use a template file for the body of this code. Is it possible?
I allready have an attachment so that i cant attach it to the mail. I need
to make something like this:
Dim objOutlook As New Outlook.Application
Dim objMail As Outlook.MailItem
Set objMail = objOutlook.CreateItem(olMailItem)
with objmail
..subject = "Something"
..htmlbody = Currentproject.connection & "/template.doc"
..send
end with
Set objMail = Nothing
Set objOutlook = Nothing
I want to use a template file for the body of this code. Is it possible?
I allready have an attachment so that i cant attach it to the mail. I need
to make something like this:
Dim objOutlook As New Outlook.Application
Dim objMail As Outlook.MailItem
Set objMail = objOutlook.CreateItem(olMailItem)
with objmail
..subject = "Something"
..htmlbody = Currentproject.connection & "/template.doc"
..send
end with
Set objMail = Nothing
Set objOutlook = Nothing