M
Michael
I can't figure out how to add the additional recipients, also how to send to
a distribution list.
code is as follows:
Sub Item_PropertyChange(ByVal Name)
Select Case Name
Case "Status"
if Item.Status = 2 then '2 = Completed
Set NewItem = Application.CreateItem(0)
NewItem.To = "(e-mail address removed)"
NewItem.To = "(e-mail address removed)"
NewItem.To = "(e-mail address removed)"
NewItem.To = "mailing_list1"
NewItem.Recipients.ResolveAll
NewItem.Subject = "Test Subject message"
NewItem.Body = "This is a test."
NewItem.Display
End IF
End Select
End Sub
Any help would be greatly appreciated.
Thanks,
Michael
(e-mail address removed)
a distribution list.
code is as follows:
Sub Item_PropertyChange(ByVal Name)
Select Case Name
Case "Status"
if Item.Status = 2 then '2 = Completed
Set NewItem = Application.CreateItem(0)
NewItem.To = "(e-mail address removed)"
NewItem.To = "(e-mail address removed)"
NewItem.To = "(e-mail address removed)"
NewItem.To = "mailing_list1"
NewItem.Recipients.ResolveAll
NewItem.Subject = "Test Subject message"
NewItem.Body = "This is a test."
NewItem.Display
End IF
End Select
End Sub
Any help would be greatly appreciated.
Thanks,
Michael
(e-mail address removed)