• Subject: auto reply to acknowledge attachment
  • Author: wotme
  • Date: 09 Jan
  • References:
Hi
I am using a small code which sends a reply to a specified sender. I
would like to add a line the reply referring to the name of the
attachment, if there is one. I also want to add my signature. I have
activated the signature in options to be added on a reply, but it doesnt
appear.

I would prefer if possible, to add the signature via code, rather than
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 Sub

--------------------




wotme
09 Janauto reply to acknowledge attachment.wotme
Contact Us
All times are in (US) Eastern Daylight Time (GMT -4:00)