flaviooooo
Programmer
Hello,
in a few weeks we are going to switch from Outlook to Lotus Notes as our mailing platform. A couple of our Access-databases used Outlook to 'automatically' mail out PDF files. Does anyone here have experience doing this with Lotus?
The code I currently use to mail is this:
Dim appOutLook As Object
Dim MailOutLook As Outlook.MailItem
Set appOutLook = CreateObject("Outlook.Application")
Set MailOutLook = appOutLook.CreateItem(olMailItem)
With MailOutLook
.TO = "" & Me.mailto & ""
.CC = "" & Me.mailcc & ""
.subject = "Delivery-Schedule " & Me.Combo0 & ""
.HTMLBody = ""
.Attachments.Add "C:\Delivery-Schedule.pdf", olByValue, 1, "Delivery-Schedule.pdf"
.Display
End With
I hope someone can help me with this?
Thanks in advance
in a few weeks we are going to switch from Outlook to Lotus Notes as our mailing platform. A couple of our Access-databases used Outlook to 'automatically' mail out PDF files. Does anyone here have experience doing this with Lotus?
The code I currently use to mail is this:
Dim appOutLook As Object
Dim MailOutLook As Outlook.MailItem
Set appOutLook = CreateObject("Outlook.Application")
Set MailOutLook = appOutLook.CreateItem(olMailItem)
With MailOutLook
.TO = "" & Me.mailto & ""
.CC = "" & Me.mailcc & ""
.subject = "Delivery-Schedule " & Me.Combo0 & ""
.HTMLBody = ""
.Attachments.Add "C:\Delivery-Schedule.pdf", olByValue, 1, "Delivery-Schedule.pdf"
.Display
End With
I hope someone can help me with this?
Thanks in advance