Solved

Custom Automatic Replies

Posted on 2011-09-30
5
287 Views
Last Modified: 2012-08-13
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.
0
Comment
Question by:Conchial
  • 3
  • 2
5 Comments
 
LVL 4

Expert Comment

by:Subnet_This
ID: 36892428
0
 

Author Comment

by:Conchial
ID: 36892452
Thanks Subnet This.
The challenge with that method is that it has no provision for me to include the original message.
0
 
LVL 4

Expert Comment

by:Subnet_This
ID: 36892651
What version of Outlook are you using?
0
 

Author Comment

by:Conchial
ID: 36893606
2010 but I can use whatever version has what we need.
0
 
LVL 4

Accepted Solution

by:
Subnet_This earned 500 total points
ID: 36893942
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

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

If you don't know how to downgrade, my instructions below should be helpful.
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
how to add IIS SMTP to handle application/Scanner relays into office 365.
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: …

770 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