Thank you,
do i enter the code as it shown below, I need help on replying on multiple emails or to setting up a rule which will include script that will have the verbiage created as outlook template and also will have the original at the bottom as normal when you replying an email back, also when i tried to create rule for some reason when click on script to put in the macro
it's not there.
please help.
Sub AutoReplywithTemplate(Item As Outlook.MailItem)
Dim oRespond As Outlook.MailItem
' Use this for a real reply
' Set oRespond = Item.Reply
' This sends a response back using a template
Set oRespond = Application.CreateItemFromTemplate("C:\path\to\template.oft")
With oRespond
.Recipients.Add Item.SenderEmailAddress.Subject = "Your Subject Goes Here".HTMLBody = "Your reply text goes here." & vbCrLf & _
"---- original body below ---" & vbCrLf & _
Item.HTMLBody & vbCrLf & _
"---- Template body below ---" & _
vbCrLf & oRespond.HTMLBody
' includes the original message as an attachment
.Attachments.Add Item
' use this for testing, change to .send once you have it working as desired
.Display
End With
Set oRespond = Nothing
End Sub