Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 238
  • Last Modified:

Automatically quote & reply to messages.

I want to set up some type of rule with the following criteria.

If the subject contains "Request CMAC" then to automatically reply AND QUOTE the email with "Approved."  Written at the top.

+++ath0
NO CARRIER
0
NO_CARRIER
Asked:
NO_CARRIER
  • 3
  • 2
  • 2
  • +1
1 Solution
 
StuartWhyteCommented:
When you say "written at the top" do you mean in th esubject line, or at the top of the body??

Stuart
0
 
A.V.Lead EngineerCommented:
What version of Outlook are you running?  This can be accomplished with the rules wizard.
0
 
travalCommented:
And on the lighter side, where is the value add in requiring a request that is automatically approved ;-)
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
NO_CARRIERAuthor Commented:
at the top of the body.

outlook 2000

... it's not our process.  it's another department's process. :) .. we're just umm.. being "efficient".
0
 
travalCommented:
I believe that everything will work using the Rules Wizard EXCEPT quoting the original email text in the reply.  For example a rule to:

1.  Apply this rule after the message arrives
2.  with "Request CMAC"  in the subject
3.  Reply using <specific template>

If it's essential to include the original message text in the reply you are going to need to either investigate 3rd party add-ons or do a little coding.
0
 
NO_CARRIERAuthor Commented:
Unfortunately the body must be quoted as that contains the details of the CMAC which is being approved... :(
0
 
StuartWhyteCommented:
Ok, this will do what your looking for, although it will generate the Outlook security warning.  You will also need to set your Security level to medium.

1) In outlook goto Tools/Macro/Visuaa Basic Editor
2) Under "ThisOutlookSession" Put in the following code:


Sub ReplyToRequest(Item As Outlook.MailItem)
    Dim ns As NameSpace
    Dim Inbox As MAPIFolder
    Set ns = GetNamespace("MAPI")
    Set Inbox = ns.GetDefaultFolder(olFolderInbox)
   
    If Item.Subject = "Request CMAC" Then
        Set objReply = Item.Reply
        objReply.Subject = "Approved " & Item.Subject
        objReply.Body = "Approved" & Chr(13) & Chr(13) & Item.Body
        objReply.Send
        Set objReply = Nothing
       
         End If
   
ReplyToAttachment_exit:
    Set Item = Nothing
    Set ns = Nothing
    Exit Sub

End Sub

3) Save and exit.

4) Goto tools/rules wizard
5) Creat a rule for "when messages arrive, which has a subject "Request CMAC", run a script"
6) Set the script using the macro "Project1.ThisOutlookSession.ReplyToRequest".


You will need to click OK on the Outlook Security box, which unfortuatly there is no way arround, without 3rd party add-ins.

HTH

Stuart
0
 
StuartWhyteCommented:
NO_CARRIER

Did this code work for you?

Stuart
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 2
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now