Link to home
Start Free TrialLog in
Avatar of ExpertAssist
ExpertAssistFlag for United States of America

asked on

Outlook: Auto-Reply to Person in Delivery Options "Have reply sent to" not the online service in the "From" field.

Our HR department receives resumes from jobseekers@domain.com.  When they reply manually the name of the person that acutally applied for the job online appears in the To: of the reply message. (The person that sent the message can be found by right clicking on the message---selecting options---Delivery options--"Have reply sent to")  Because there are so many messages HR wants to be able to set up an auto-reply to let the person know that the resume has been recieved.  When we set up the auto-reply rule, instead of auto-populating the To: of the reply message with the person in the "Have reply sent to", jobseekers@domain.com receives the reply message.  Our settings are as follows.  Check messages when they arrive--from people or distribution lists (jobseekers@domain.com)---Reply using a specific template (The template only has something in the body of the message).  There are no exceptions set.
Avatar of David Lee
David Lee
Flag of United States of America image

Greetings, ExpertAssist.

> jobseekers@domain.com
Is this a distribution list or the address of a public folder?

Cheers!
Avatar of ExpertAssist

ASKER

Hi, BlueDevilFan.

It is neither a distrubution group or a public folder.  jobseekers@domain.com is a job bank where people post their resumes.  When someone applies for a job via the job bank, a message is sent to our HR department with jobseekers@domain.com in the "From field".  When we reply manually, the name from the "Have reply sent to " is populated in the "To" field to the specific person that sent the resume.  When we use the auto-reply, it never grabs the "Have reply sent to" address.  It uses the original address that was in the "From" field of jobseekers@domain.com.  We want to use the "Have reply to" (the person that sent the resume) name and not the original name that was in the "From" (address of the job bank)when we reply using the rules wizard.

ExpertAssist
Got it.  Does the rule need to be server-side (i.e. running all the time) or can it be client-side (i.e. running only when Outlook is open)?
Preferably server-side, however, I know that our customer is leaving her computer on with Outlook open and the computer locked, so next best think would be client side.

ExpertAssist
Server-side is a real problem.  The only way to script something at the server is to write an event-sink.  They're difficult to write and any mistake will affect the entire server, not just one mailbox.  I can create a macro that'll do what you've descibed, but there's an issue you should know about up-front.  Accessing any field containing an email address or sending mail via code triggers Outlook's built-in security.  The result is a pop-up dialog-box warning that an application is accessing your mailbox/sending on your behalf and asking for permission to allow it to continue.  Saying "yes" requires manual action.  There are two ways to get around this.  First, ClickYes, a third-party utility that sits in the system tray and watches for Outlook's security dialog.  When it appears ClickYes lives up to its name and clicks the Yes button for you.  Here's a link to it: http://www.contextmagic.com/express-clickyes/  Second, Outlook Redemption.  Redemption is a component library (i.e. a DLL) that allows a script to perform actions that would normally trigger Outlook's security without triggering it.  I can produce the necessary script.  Let me know how you'd like to proceed and we'll take it from there.
BlueDevilFan,

Sorry I haven't gotten back to you sooner.  I was away from work.  I would be interested in the Outlook Redemption option.  

Thanks,
ExpertAssist
ASKER CERTIFIED SOLUTION
Avatar of David Lee
David Lee
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
BlueDevilFan,

I really appreciate your time.  I will give the script a try.

Thanks again,
ExpertAssist
No problem.  Let me know if you run into any problems.
Avatar of FaithfulWon
FaithfulWon

When I compile this in Outlook 2007 (i.e. Version 12) (I'm using Microsoft Exchange also) I get a number of errors.  A missing End If and an End With that should have been an End If sorts some of it.  However the program stops on the Set redOriginal = CreateObject("Redemption.SafeMailItem") line with "The operation failed" message.  Can someone help?