Adding Message to Forwarding E-mail

Adding Message to Forwarding E-mail

My company wishes to do some special e-mail forwarding. Is there a way to take an incoming message, place a message at the top or in the subject line, and then forward this as one message?

If it’s o.k. for Outlook to be running at the time, you could create a VBA macro that does this pretty easily. Just create the code in the NewMail event to do something like this:

Set oNS = Outlook.Application.GetNamespace("MAPI")    Set oInbox = oNS.GetDefaultFolder(6)    Set oMsg = oInbox.Items.GetFirst()    Set oFwd = oMsg.Forward    oFwd.Body = "[Insert your text here]" & vbLf & vbLf & oMsg.Body    Set oFwdRecip = oFwd.Recipients.Add("[insert recipient addresses here]")    oFwd.Send

Note that this will only work while Outlook is running. If you’re good at VB Script you could do something similar and have it run server-side.

See also - an AI reverse image search platform

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist