auto reply to acknowledge attachment

W

wotme

H
I am using a small code which sends a reply to a specified sender.
would like to add a line the reply referring to the name of th
attachment, if there is one. I also want to add my signature. I hav
activated the signature in options to be added on a reply, but it doesn
appear.

I would prefer if possible, to add the signature via code, rather tha
it appear on every reply/forward.

Anybody?

Code
-------------------

Sub IP2(objMsg As MailItem)
Dim objReply As MailItem

Set objReply = objMsg.Reply
objReply.Subject = "Ref your email - " & objReply.Subject
objReply.Body = "Your email with attachments has been received" & vbCrLf & vbCrLf & "Thanks" & vbCrLf & "Chris"

objReply.Display
objReply.Send
Set objReply = Nothing


End Su
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top