I found the following code that when I receive a email, I run this and it creates an email back of the template I put in and adds the email message from the other side at the bottom, but does not create the email address back to the email address from I received...so what can we add and where so it adds the email address of the email I received to the To field automatically? I need this as I get emails in certain ways just to respond using a template. Thanks much as usual!!
Sub Reply_Scripting()
Dim origEmail As mailItem
Dim replyEmail As mailItem
Set origEmail = Application.ActiveWindow.Selection.Item(1)
Set replyEmail = Application.CreateItemFromTemplate("C:\Users\Stoler Law\AppData\Roaming\Microsoft\Templates\E-mail From Lou Stoler - Good Morning Follow-Up Marketing to E-Mail Contacts.oft ")
replyEmail.HTMLBody = replyEmail.HTMLBody & origEmail.Reply.HTMLBody
replyEmail.Display
End Sub
Sub Reply_Scripting()
Dim origEmail As mailItem
Dim replyEmail As mailItem
Set origEmail = Application.ActiveWindow.Selection.Item(1)
Set replyEmail = Application.CreateItemFromTemplate("C:\Users\Stoler Law\AppData\Roaming\Microsoft\Templates\E-mail From Lou Stoler - Good Morning Follow-Up Marketing to E-Mail Contacts.oft ")
replyEmail.HTMLBody = replyEmail.HTMLBody & origEmail.Reply.HTMLBody
replyEmail.Display
End Sub