Hi,With Outlook 2002, I am mailing a opened word document as attachement by clicking a button with following vb code:
Sub senden_mail()
Dim objOL As Outlook.Application
Dim objMail As MailItem
Set objOL = New Outlook.Application
Set objMail = objOL.CreateItem(olMailItem)
With objMail
.To = "name@address1.com"
.To = "name@address2.com"
.CC = "name@address3.com"
.Subject = "Subject text"
.HTMLBody = "<font face =Arial, size=2>Dear Sirs,<br>texttext<br>texttext</font>"
.Attachments.Add ActiveDocument.FullName
.Send
End With
Set objMail = Nothing
Set objOL = Nothing
End Sub
How to change the srcipt in a way that it would work with Lotus Notes 6.5 ?
2 Features are important: the HTML-formatted text-body and sending the active word docu as attachement.
Many thanks for any suggestions