Out Of Office Modification

  • Thread starter Thread starter ysut
  • Start date Start date
Y

ysut

I have 1 mailbox for receive any complains or something from my
customer. Let say the mailbox is (e-mail address removed).

I want to reply everytime a new email arrives to the mailbox, using Out
Of Office tool. So, I turn on the Out Of Office tool. But, in every
reply that sent automatically, I want to give the CASE ID, so the
customer just remember the CASE ID, for his email. So, for the example
reply email is like below :

Subject : Autoreply from XYZ, Your CASE ID IS : 00001
Message : Thank you for.... bla bla bla

How to modify the Out Of Office to sent the Autoreply with the counter
as CASE ID ? Via VBA maybe ?

Thank you
 
You cannot use Out of Office or Rules Wizard for this, since they only reply once to each sender. You could use VBA to monitor the Inbox for new items and then create replies accordingly. See http://www.slipstick.com/dev/code/quarexe.htm for a simple example of such monitoring and http://www.slipstick.com/dev/vb.htm for more detailed information on working with Outlook objects in VB and VBA.
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
 
Thank you.

So, if I cannot use Out Of Office to do that, how to get a sendername
if a new mail arrives ?

Thanks
 
There is no Outlook property that returns the sender's email address. You can either use CDO (or Redemption to avoid security prompts -- http://www.dimastr.com/redemption/) to get the From address or use Outlook to get the Reply To address. Sample code at http://www.slipstick.com/dev/code/getsenderaddy.htm.

The newsgroup interface at http://www.outlookforum.com may not automatically quote the text of the original message when you post a reply. Please take the time to quote the original message manually so that people reading your current response can understand what you're talking about. Otherwise, you may not receive the answer you're looking for.

--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
 
Thank you. I already success to get the sendername, and reply it
automatically everytime the new mail arrives. But how to disable the
warning message that a program is trying to access email address ? I
always must click "yes" button and turn on the "Allow Access For"
option. After that I must click "YES" button, because the warning
window of "A program is trying to send email automatically" will
display next.

Please help me to disable the 2 warning windows.

Thank
 
Back
Top