Hi there, I have the following problem and would be extremely grateful for help: I have a rule set up on Outlook to redirect all emails coming in from a specific email address. However, I cannot set it to redirect the email to all the people in my distribution list named "Lecturers". In addition, I want the redirection to be BCC (due to spam issues). Thank you very much for your help.
Sub SendEmails(mail as MailItem) Dim ContactsFolder As Folder Set ContactsFolder = Session.GetDefaultFolder(olFolderContacts) Dim objMail as MailItem Dim Contact As Object For Each Contact In ContactsFolder.Items Set objMail = olApp.CreateItem(olMailItem) With objMail .Subject = mail.Subject .Body = "Body Text" .To = Contact.Email1Address .Send End With Next End Sub
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)