Hi
I am trying to put in 2 .To array lists however it's not letting me do it or I keep getting it wrong. How can I send to 2 lists of recipients?
On Error Resume Next
With OutlookMessage
'.SendUsingAccount = oAccount
.SentOnBehalfOfName = "data.controller@gwr.com"
.To = recipientsArray
.To = recipients1
.CC = "data.controller@gwr.com"
'.BCC =
.Subject = Subject
.HTMLBody = BodyText
.Attachments.Add Attachments
.Display
'.Send
End With
I am trying to put in 2 .To array lists however it's not letting me do it or I keep getting it wrong. How can I send to 2 lists of recipients?
On Error Resume Next
With OutlookMessage
'.SendUsingAccount = oAccount
.SentOnBehalfOfName = "data.controller@gwr.com"
.To = recipientsArray
.To = recipients1
.CC = "data.controller@gwr.com"
'.BCC =
.Subject = Subject
.HTMLBody = BodyText
.Attachments.Add Attachments
.Display
'.Send
End With