Forward a email with modified body Automatically.


New Member
Outlook version
Outlook 2019 32-bit
Email Account
Exchange Server

First time poster here, i took some time to read what the forum has to offer but i still have some questions

Description of the issue:
What i am trying to achieve is that when ever i receive a email with the Subject "XXXX" from the sender "XXXX" it will look in the body for a specific sentence, lets say "error123:" and it will have a description "this fail because of issues". This email contains a lot of information and everything should be striped except that error message. This error message could appear more then once in the body for example "error124" and "error125" as well or it could not appear at all and just be a simple email with lots of information. Once i verify that the email in fact does include this error message i want to forward only the error code plus the error message to a different email address and for simplicity it can be the same subject.

Points of concern:
  • I have been reading that you can add button(Macros) that can make this for you and it can be run when outlook it self is open, but is it possible to run this at night when i do not have outlook open?
  • This emails are coming to a mailing box and not my direct email does that have any impact on how i set this up?

Thx in advance.
Thread starter Similar threads Forum Replies Date
J Automatically forward email and apply template Outlook VBA and Custom Forms 0
C How to rename subject line and forward the email Outlook VBA and Custom Forms 2
R Error when trying to forward current email item Outlook VBA and Custom Forms 7
B Forward every other email in Outlook 2013 Outlook VBA and Custom Forms 2
D Disable or hide "reply" and "reply to all" and "forward" in email from access vba Outlook VBA and Custom Forms 1
Sabastian Samuel HOW DO I FORWARD AN EMAIL WITH MACRO using an email that in the body of another email Outlook VBA and Custom Forms 3
A Forward Outlook Email by Filtering using Macro Rule Outlook VBA and Custom Forms 44
Brostin Forward a mail to the address listed in the email text Outlook VBA and Custom Forms 1
A Creating an outlook rule to forward an email with a specific message Using Outlook 1
D How to forward each email x minutes after it arrives in inbox and hasn't been moved or deleted? Using Outlook 1
W Macro to forward email Outlook VBA and Custom Forms 2
mikecox Forward email to another address; not with Rules Using Outlook 3
divan Macro to format email in a certain folder then forward to email address Using Outlook 3
D forward email with attachment using .oft Using Outlook 3
R Auto-create receipt from email and forward to payer Using Outlook 3
C Unable to forward email with URL Using Outlook 2
M rule to change subject, pull email addresses from body, and forward with templ Using Outlook 14
S Rule to Auto-forward/re-direct a specific incoming email to a group via BCC? Using Outlook 1
A Outlook 2010 - Want to Have All Email Reply Forward as Rich Test Using Outlook 7
P email arrows - respond and forward Using Outlook 1
T Using A Rule To Forward An Email Containing Specific Word Using Outlook 5
D I would like to be able to Forward a Template to a specified email address on receiving an email in the Inbox. Using Outlook 1
L Automatically forward ALL outgoing/sent emails to another email adddress (not just for a specific distribution list) Using Outlook 2
T Exchange - forward email when user is not logged on Using Outlook 1
I Outlook 2007 Out of office Forward of email sent to a Distribution List member Using Outlook 1
O Can't send, reply, or forward email. Using Outlook 2
A Forward an entire email folder including the folder structure Using Outlook 2
P no text in forward email Using Outlook 2
A Outlook crashes and restart when I send, reply or forward an email Using Outlook 1
J Can not reply to or forward email from outlook but can send email started from new Using Outlook 1
O Email tool bar greyed out. Can't send or forward email. Using Outlook 1
R Exchange Powershell getting the forward email address for mailboxes Exchange Server Administration 2
A forward all email to another smtp server? Exchange Server Administration 5
B Outlook 2010 auto-forward deletes message text from forwarded email Using Outlook 7
L Forward Email and Insert Sender's Email address in body Outlook VBA and Custom Forms 3
M Forward email as insert from button Outlook VBA and Custom Forms 1
J Rule to Forward email but delay delivery 10 minutes Outlook VBA and Custom Forms 2
S forward email Outlook VBA and Custom Forms 1
C UDFs Reply vs Forward Outlook VBA and Custom Forms 2
M In Outlook Calendar remove the buttons: 'Today' and '<' (Back a day) and '>' (Forward a day) that are below the Ribbon and above the calendar display. Using Outlook 0
M Outlook macro to automate search and forward process Outlook VBA and Custom Forms 6
G Missing forward/replied icons Using Outlook 2
M VBA to auto forward message with new subject and body text Outlook VBA and Custom Forms 8
B Automatically Forward Emails and Remove/Replace All or Part of Body Outlook VBA and Custom Forms 8
M Forward Appointment as BCC with VBScript Outlook VBA and Custom Forms 7
C Don't forward duplicate Using Outlook 0
undercover_smother Automatically Forward All Sent Mail and Delete After Send Outlook VBA and Custom Forms 10
I change subject and forward without FW: Outlook VBA and Custom Forms 4
C VBA to Forward e-mails from certain address and between certain times Outlook VBA and Custom Forms 1
J Forward Action in Form Outlook VBA and Custom Forms 1
Similar threads