Outlook 2013 - Customized auto-reply message

Not open for further replies.


Outlook version
Outlook 2013 64 bit
Email Account
Exchange Server

i have MS Outlook 2013. i do know how to put an auto - reply message to use it when i'm out of my office or away from desk.

but i want this message to be customized, such as:

if the sender's email is: email@domain.com

i would like my auto reply to start with: dear email@domain.com ...

how can i do that?

thanks in advance for you time and help.
The out of office assistant doesn't support that. You can click Rules... and create a rule to reply with a template, but AFAIK, the OOF template can't do that - you'd need to use a macro, which would require Outlook to remain open.
i have noticed that.

where can i find such a macro?

VBa is here: run-script-rule-reply-message - you'll need to use item.sender in place of "your text" and whatever else you want. There are also samples that use templates - while not a run a script sample, this one shows how to use a template

olSelection.InsertBefore item.sender
and if i replace your text with item.sender

where shall i type my message?

and how do i define where i want my variable ( sender ID ) to be?

item.sender is the variable - it picks up the address from the original.

You can add your message in the vba -

item.sender & vbcrlf & "hi, I'm not into today. I'll take care of this tomorrow. Thanks for understanding"
This is what the reply would look like to notifications from this board -

this is my macro:

Sub ReplywithNote(Item As Outlook.MailItem)

Dim olInspector As Outlook.Inspector

Dim olDocument As Word.Document

Dim olSelection As Word.Selection

Set myReply = Item.Reply


Set olInspector = Application.ActiveInspector()

Set olDocument = olInspector.WordEditor

Set olSelection = olDocument.Application.Selection

olSelection.InsertBefore Item.Sender & vbCrLf & "hi, I'm not into today. I'll take care of this tomorrow. Thanks for understanding"

' uncomment to send

' myReply.Send

End Sub

it did not work :(
Did you create a rule for it? This line: myReply.Display displays it onscreen for testing - you'll need to uncomment the send line at the end to use it for real.

Is macro security set to low?
yep..can u please copy the whole code so I can check it? thanks
I will, but it won't be until later today, I'm not in the office and only have my iPad with me.
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
P now on office 365 but getting error messages about missing Outlook 2013 cache folders Using Outlook 2
P Outlook 2013 search no longer works Using Outlook 2
K Closing external IMAP email... Outlook 2013 Using Outlook 0
P Outlook 2013 Calendar Archiving Using Outlook 0
T Compuserve, Yahoo, Oath2 and Outlook 2013 Using Outlook 4
Paula S. Outlook 2013 won't recognize new password Using Outlook 4
B Outlook 2013 erratically deleting original file that is attached Using Outlook 0
X Using Outlook 2013 and Outlook 365 Using Outlook 1
I Error saving screenshots in a custom form in outlook 2016, outlook 365 - ok in outlook 2013, outlook 2010 Outlook VBA and Custom Forms 5
J Outlook 2013 Change color of text in data fields of contacts in Outlook 2013? Using Outlook 10
Commodore Outlook (2013) issues with icloud.com mail Using Outlook 0
D iCloud Add-in not working in Outlook 2013 and Outlook 2016 After Windows Upgrade & iCloud Upgrade Using Outlook 2
P Outlook 2013 "Item could not be moved - still an issue for Outlook 2013 Using Outlook 0
M Creating an RSS Feed **FROM** Outlook 2013 Calendar. Using Outlook 5
D Outlook 2013 Yahoo IMAP Sync problems Using Outlook 1
iwshim outlook 2013 - I cannot see the "Manage Add-ins" Using Outlook 2
B Outlook 2013/Exchange 2013 - Conf Rooms not fully booking "resolved conflict" meetings Using Outlook 3
G Can't create Folder Groups in Outlook 2013 Using Outlook 0
A Run time error 424. object required in outlook 2013 Outlook VBA and Custom Forms 10
Rupert Dragwater Several questions regarding Outlook 2013 Using Outlook 9
P Outlook 2013 opens with FILE tab selected. Using Outlook 3
I How to display sender's name instead of email address in outlook 2013 message Using Outlook 5
Z Outlook 2013 Gmail IMPA emails not showing dates only showing times Using Outlook 1
B Forward every other email in Outlook 2013 Outlook VBA and Custom Forms 2
P Synching Outlook 2013 Notes with iPhone 8 Using Outlook 1
N Outlook 2013 Folder View Using Outlook 8
M Outlook 2013 fails to start -- missing WindowsCodecs.dll error Using Outlook 3
David Michaels Contact card shows blank Outlook 2013 Outlook VBA and Custom Forms 0
J Calendar data can be viewed on Outlook.com, but no longer syncs to Outlook 2013 Using Outlook.com accounts in Outlook 3
C Attached files on Outlook 2010 Sp1 & Exc 2013 are missing Exchange Server Administration 1
R Folders shifting around in Outlook 2013 and 2016 Using Outlook 3
P Sync Desktop Outlook 2013 with Outlook.com? Using Outlook.com accounts in Outlook 5
J Outlook 2013 when clicking To in a new email show Company names Using Outlook 0
J Outlook - 2013 - Error msg when copying folders from Online Archives to another user's mailbox Using Outlook 0
D Outlook 2013 changing iCloud reminder time? Using Outlook 0
J Object Variable or With Block Not Set Error in Outlook 2016 and not Outlook 2013 Outlook VBA and Custom Forms 3
P Outlook 2013 puts replies in Outbox Using Outlook 1
P Contacts gone missing in Outlook 2013 POP Using Outlook 4
M Outlook 2013 Using Outlook 1
P MS OUTLOOK 2013 - Adding Sender on the CC line Using Outlook 5
P MS OFFICE 2013 - Outlook locking up when using the sent on behalf of feature in VB Using Outlook 3
I Outlook 2010, 2013 will not open .msg or .eml files Using Outlook.com accounts in Outlook 1
Jeff Davis Help fix my Outlook 2013? Using Outlook 28
J Outlook 2013 hanging for unknown reason Using Outlook 1
O Outlook 2013 Problems sending large mails Using Outlook 4
K Rebuilding Outlook 2013 from Outlook.com after OS rebuild Using Outlook.com accounts in Outlook 2
O Windows 10 x64 Outlook 2013 - URL does not open (anymore) Using Outlook 3
J Will BCC messages still deliver if TO address fails Outlook 2013 Using Outlook 3
Liz Schneider PST from Outlook 2013 is now IMAP folders in 2016 Using Outlook 10

Similar threads