Solved

Sending the same reply to multiple messages

Posted on 2008-06-13
10
2,708 Views
Last Modified: 2009-06-01
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.

Thanks
Ally
0
Comment
Question by:AUPIT
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
10 Comments
 
LVL 76

Expert Comment

by:David Lee
ID: 21777738
Hi, AUPIT.

I can do this with a bit of scripting.  Is that an option?  If so, then I can post the script and instructions for using it.
0
 
LVL 2

Author Comment

by:AUPIT
ID: 21777994
Scripting is an option that i had thought about but didnt know where to begin.
0
 
LVL 76

Expert Comment

by:David Lee
ID: 21778379
How do they want this to work?  Do they have a template that they want to reply with, or do they want to select the messages, and be prompted for the text to send?
0
Create Professional Looking Email Signatures

Create "Professional HTML Email Signatures" with ease.
7 Day Money Back Guarantee if not 100% Satisfied.
Affordable - Try it out for 7 Days Totally Risk Free.
Installers provided for over 45 Email clients.
Both Windows & MAC Supported.
Highly Recommended!

 
LVL 2

Author Comment

by:AUPIT
ID: 21778406
They have a template saved that they will use
0
 
LVL 76

Expert Comment

by:David Lee
ID: 21779110
Here's the code for doing this.  Follow these instructions to use it.

1.  Start Outlook
2.  Click Tools->Macro->Visual Basic Editor
3.  Paste the script into the right-hand pane of the VB Editor
4.  If not already expanded, expand Modules and double-click on Module1
5.  Edit the code as needed.  I included a comment line immediately before any line that needs editing.
6.  Click the diskette icon on the toolbar to save the changes
7.  Close the VB Editor
8.  Stop here if you're using Outlook 2007
9.  Click Tools->Macro->Security
10.  Set Security Level to Medium

To use this

1.  Select one or more messages
2.  Run the macro

For each selected message the macro creates a reply using the specified template.
Sub SendReply2All()
    Dim olkMsg As Outlook.MailItem, _
        olkReply As Outlook.MailItem, _
        olkTemp As Outlook.MailItem
    For Each olkMsg In Application.ActiveExplorer.Selection
        Set olkTemp = olkMsg.Reply
        'Change the path and filename of the template on the next line
        Set olkReply = Application.CreateItemFromTemplate("C:\SomeFolder\Template.oft")
        olkReply.Recipients.Add olkTemp.Recipients.Item(1).Address
        olkReply.Display
        Set olkTemp = Nothing
    Next
    Set olkReply = Nothing
    Set olkMsg = Nothing
End Sub

Open in new window

0
 
LVL 2

Author Comment

by:AUPIT
ID: 21779885
is there a script if they dont have a template
0
 
LVL 2

Author Comment

by:AUPIT
ID: 21794383
I have followed your well laid out instructions but when I try and run the macro I get the following error, "The macros in this project are disabled. Please refer to the online help or documentation of the host application to determine how to enable macros" I have changed the security for macro's to low but I still get the error, any help would be gratefully received
0
 
LVL 76

Expert Comment

by:David Lee
ID: 21798126
Did you close and restart Outlook after changing the security setting?  If you did, then try adding the following code to the ThisOutlookSession module:

Private Sub Application_Startup()
    MsgBox "Hello world."
End Sub

Close and relaunch Outlook. When it starts it should display a dialog-box asking if you want to enable macros.  You must answer yes.
0
 
LVL 76

Accepted Solution

by:
David Lee earned 250 total points
ID: 21798222
This version of the script works without a template.
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

Open in new window

0
 

Expert Comment

by:Karrillion
ID: 30728672
Is there a version of this that will keep the original subject line of the email and simply put RE: in front of the original subject?

Also, when I tried this, I was getting the error about needing an email in the To: or CC: box.  Am I overlooking something?
0

Featured Post

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Find out what you should include to make the best professional email signature for your organization.
In this step by step procedure, you will come to know the details of creating an Outlook meeting in 2007, 2010, 2013 & 2016.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question