automatic response with an attachment based on the subject line

Not open for further replies.


New Member
Outlook version
Outlook 2013 32 bit
Email Account
Exchange Server

I would like to know how I create an automatic email response with an attachment based on the subject line.

To clarify: if somebody send "Project X" in the subject, where "project" is the trigger and "X" is the variable, outlook needs to send automatically to this person the file named X.pdf from a fixed folder.

Would be super if someone could help me with that.

Kind regards,
there are some samples here Run a script rule: Autoreply using a template - if the attachment name is in the subject in full, all attachments are stored in the same folder, and you can easily pick it out using code, then you just need to get the name using instr function. otherwise, you can use select case or an arrary to match the code word with the attachment name.

code samples for adding attachments is here - Use an Outlook Macro to Send Files by Email
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
B Removing Recipients from an automatic response Outlook VBA and Custom Forms 2
P How to get a QR code for automatic signin with Outlook for iOS Using Outlook 5
U Rolling Back Office broke automatic updates Using Outlook 4
P Automatic Greeting "Hello Name," when Reply All is clicked Outlook VBA and Custom Forms 1
Commodore Automatic switch between working offline/online Using Outlook 4
S Outlook 2007 - Automatic purge fail Using Outlook 0
A Automatic forwarding to different people on a rotational basis Using Outlook 2
B resend if no reply and send an automatic reminder Outlook VBA and Custom Forms 0
J Automatic color category according to variable domains Outlook VBA and Custom Forms 4
E How to send automatic emails in outlook 2010 Using Outlook 1
N VBA Script to Send Automatic Emails from Outlook 2010 Outlook VBA and Custom Forms 1
M Outlook 2016 Desktop - Automatic Rule Processing Using Outlook 3
P Threat to being a spammer while sending automatic Emails through VBA Using Outlook 3
reza Macro to automatic reply using orignal mail Outlook VBA and Custom Forms 10
B Automatic picture download and changing email addresses Using Outlook 3
J why won't the automatic send/receive work Using Outlook 7
S rule, automatic replies, restricting them to within the company Using Outlook 1
I Automatic reply to an email Using Outlook 0
P Daily Automatic Reply Using Outlook 1
P Automatic reply on incoming messages in outlook using VBA(only Specifi person) Using Outlook 14
R automatic signature Using Outlook 0
B Looking for an add-in or a way to send automatic replies based off a list Using Outlook 2
H Automatic excel data added to Certain Emails that are received Using Outlook 3
M Automatic Bcc Using Outlook 2
C starting Outlook 2003 sp3 sets Junk Email setting to 'No automatic filtering' Using Outlook 3
K automatic cleanup folder Using Outlook 3
B How to automatic save Sending or replying contacts e-mails into contacts? Using Outlook 0
J Form design - how do I insert an automatic date/time field? Using Outlook 2
C Text reply mail in Outlook 2010 has automatic margin indent Using Outlook 9
P Automatic personalized reply Outlook VBA and Custom Forms 1
D Stop automatic opening BCM (Business Contact Manager) 1
P propagate automatic formatting to other Outlook folder Outlook VBA and Custom Forms 1
D Re: Propogate Automatic Formatting to Other Folder in Outlook 2007 Outlook VBA and Custom Forms 1
S Sending automatic email from Access using Outlook Outlook VBA and Custom Forms 1
T Code to import address book in automatic mode Outlook VBA and Custom Forms 1
K 0x8004210A Timeout waiting for response Using Outlook 0
M VBA to send reminder email if no response Using Outlook 13
J No response required when delegate arranging meeting Using Outlook 0
K VBA to measure response time for each emails in a shared mailbox Outlook VBA and Custom Forms 11
cabinet guy permanent response in html Using Outlook 1
H Calculate the Response time of a thread Outlook VBA and Custom Forms 3
V "Accept + Send the Response now", VBA script? Using Outlook 1
A automatically remove flag from original message when a response was received Using Outlook 2
D Frequently used response short cut possible macro Using Outlook 1
L Outlook Meeting Response: determine when a meeting response has been edited Using Outlook 1
M Auto response from Outlook Using Outlook 1
M No response required message Using Outlook 1
S HELP: Email body transcript deleted when receiving response emails Outlook VBA and Custom Forms 1
P Retrieve Meeting Response Text Associated with an Appointment Outlook VBA and Custom Forms 1
S Paperclip icon shows without attachment in email under Sent folder Using Outlook 0

Similar threads