Custom Automatic Replies

Would like to create some sort of an auto-response to an email that will present back the original text along with additional text.

SampleResponse:

To: you@you.com
From: unattendedalias@email.com

Thank you for your message, your report will be reviewed as soon as possible and you will receive a call from our thingy thing sometime in the next 28 things.

-----Original Text------
To: unattendedalias@email.com
From: you@you.com

Send me a thing.



The mail is being pulled down to an Outlook client. Would prefer a client side configurable rule as this site has no Exchange admin access.
ConchialAsked:
Who is Participating?
 
Subnet_ThisSystems AdministratorCommented:
Ok, I just did some testing. It fairly easy in 2010. There is another post on here that somewhat explains how to do this, but it is for Outlook 2007.

http://www.experts-exchange.com/Software/Office_Productivity/Groupware/Outlook/Q_24699517.html

I did some tweaking on the setup from that post.

1. Open up Outlook 2010
2. Go to File -> Options
3. Select Customize Ribbon in the left hand pane
4. In the right drop down list, choose Main Tabs
5. Check the Developer box and click OK
6. This should have added the Developer Tab to the ribbon.
7. Click the Developer Tab
8. On the Developer Tab, Click Visual Basic on the left side.
9. When the VB Editor comes up, click the + symbol next to Project 1
10. Right click on Microsoft Outlook Objects
11. Go to Insert -> Module
12. A new window should open up in the right pane.
13. In this window, enter the following code (borrowed) from the post listed above)
14.
Sub AutoReply(Item As Outlook.MailItem)
    Dim olkReply As Outlook.MailItem
    Set olkReply = Item.Reply
    With olkReply
        'Change the subject on the next line as desired'
        .Subject = "Enter you subject here (quotes are needed)"
        'Change the body as desired'
        .HTMLBody = " Enter a body message here (quote are needed)" & olkReply.HTMLBody
        .Send
    End With
    Set olkReply = Nothing
End Sub

Open in new window


15. Go to File -> Save
16. Close VB Editor
17. In Outlook, on the Home Tab, Click Rules -> Create Rule
18. In the Create Rule dialogue box, Click Advanced Options in the bottom right corner
19. Check the box sent only to me and click Next
20. On the "What do you want to do with the message?" page, Check the run a script box.
21. In Step 2 on this page (bottom), Click the underlined area entitled a script.
22. If a VB object has never been created, you should only have one option to choose from here. Click OK
23. Click Next
24. Click Next again, unless you have any other exceptions you with to add.
25. Name the rule whatever you want it to be called.
26. Make sure the Turn on this rule box is checked and click Finish
27. A warning will appear, letting you know that, for this method to work, Outlook has to stay running. (This is the only caveat of using this method)
28. Attempt a test e-mail to this address.
0
 
ConchialAuthor Commented:
Thanks Subnet This.
The challenge with that method is that it has no provision for me to include the original message.
0
 
Subnet_ThisSystems AdministratorCommented:
What version of Outlook are you using?
0
 
ConchialAuthor Commented:
2010 but I can use whatever version has what we need.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.