regbit
asked on
Sending the same reply to multiple messages in one message
BlueDevilFan wrote the script attached to answer the following question last month.
"I have a user that is a member of a recruitment group, and they are wanting to send a standard reply to multiple emails that they have received, is there any way of doing this in outlook. as when you select multiple messages the reply option is greyed out."
The script creates one reply for each message highlighted. I am wondering if the script can be modified to create just one reply and put all the e-mail receipient addresses, from the selected messages, in the BCC field.
Thanks
"I have a user that is a member of a recruitment group, and they are wanting to send a standard reply to multiple emails that they have received, is there any way of doing this in outlook. as when you select multiple messages the reply option is greyed out."
The script creates one reply for each message highlighted. I am wondering if the script can be modified to create just one reply and put all the e-mail receipient addresses, from the selected messages, in the BCC field.
Thanks
Sub SendReply2AllNoTemplate()
Dim olkMsg As Outlook.MailItem, _
olkReply As Outlook.MailItem, _
olkTemp As Outlook.MailItem, _
strSubject As String, _
strBody As String
strSubject = InputBox("Enter the reply's subject", "Send Reply To All")
strBody = InputBox("Enter the reply's body", "Send Reply To All")
For Each olkMsg In Application.ActiveExplorer.Selection
Set olkTemp = olkMsg.Reply
Set olkReply = Application.CreateItem(olMailItem)
olkReply.Recipients.Add olkTemp.Recipients.Item(1).Address
olkReply.Recipients.ResolveAll
olkReply.Subject = strSubject
olkReply.Body = strBody
olkReply.Display
Set olkTemp = Nothing
Next
Set olkReply = Nothing
Set olkMsg = Nothing
End Sub
I'd just make a rule that replies to the type of email in question and then at the end of the rule creation process click the check box that makes it run on the existing messages in the Inbox.
ASKER
Thanks jeffrash however we are wanting to send a reply to selected people not every e-mail received.
Hi, regbit.
Yes, I can manage that. Do you want to reply to just the senders of the original messages, or everyone those messages were addressed to?
Yes, I can manage that. Do you want to reply to just the senders of the original messages, or everyone those messages were addressed to?
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
Thanks BlueDevilFan,
You were correct in assuming just the senders of the original messages. The macro works great!
Thanks again
You were correct in assuming just the senders of the original messages. The macro works great!
Thanks again
You're welcome.