Reply with picture in body of message

M

Maxx

I'd like to mofify this code (if possible) so that it includes the picture
that is in the body of the e-mail.

Sub ReplyDelightful()
Set objInsp = Application.ActiveInspector
If Not objInsp Is Nothing Then
Set objItem = objInsp.CurrentItem
If objItem.Class = olMail Then
Set objReply = objItem.Reply
With objReply
.Body = "Delightful!" & vbCrLf & vbCrLf & "Thanks," & vbCrLf
& "David" & vbCrLf & .Body
.Display
End With
End If
End If

End Sub
 
K

Ken Slovak - [MVP - Outlook]

If this is an HTML message try using HTMLBody. Body will only return the
plain text rendering of the message.
 
M

Maxx

Ken,
THank you very much for your help.
David

Ken Slovak - said:
If this is an HTML message try using HTMLBody. Body will only return the
plain text rendering of the message.
 

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