Rich text : file attached and text

How to differentiate in a rich text between the text and the file attached for only for example got back that the text and not the doc attached with

Subject: RE: rich text : file attached and text

I think you’re asking how to tell whether there’s a file attached to a rich text field. You’re going to need the NotesRichTextItem.EmbeddedObjects property, and if the document is being edited, also read about NotesUIDocument.Refresh(TRUE). If you only have one rich text field, you could use @AttachmentNames instead (it doesn’t tell you which field the attachments are in).