Name of attachment in body?

E

Ed

Our Outlook (2003) is configured to compose, send, and recieve in
plain text. There may some other configuration settings IT has
changed that aren't readily apparent, so I hope this can be done.

Previously, when I attached a file to an email. the name of the
attachment would show up in the body of a reply. I also saw the
attachment icon in the body of my sent mail. Now, the attachments
show up only in a header field (same as TO or FROM), and the name of
the file doesn't come back in a reply.

IT has set things by a company-wide configuration push, so there's no
hope of going back. But is there some kind of work-around, setting,
even a macro, that would put the name of the attached file into the
body so we can track was has been sent?

Ed
 
E

Ed

I solved this using a macro:

Sub DoAttach()

Dim eml As Inspector
Dim msg As MailItem
Dim atc As Attachment
Dim str As String
Dim all As String

Set eml = ActiveInspector
Set msg = eml.CurrentItem
Set atc = msg.Attachments(1)

str = atc.FileName
all = msg.Body
msg.Body = str & vbCrLf & all

End Sub
 

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