This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
Your post helped me today! I did a much simpler thing though:
Dim AttName As String
Dim att As NotesEmbeddedObject
Dim obj As NotesEmbeddedObject
Dim outlst_att List As NotesEmbeddedObject
Forall attached In tatt.EmbeddedObjects
AttName = attached.Name
filepath = "C:\Temp\" + attached.Name
If Not attached Is Nothing Then
HasAtt = True
If attached.Type = EMBED_ATTACHMENT Then
'Detach to temp directory
Call attached.extractfile(filepath)
'Attach to email
Set obj = rtitem.embedobject(EMBED_ATTACHMENT,"",filepath)
Call rtitem.AppendText(newline)
Kill filepath
End If
End If
End Forall
Feedback response number WEBB8Z5PW3 created by ~Phil Ekavitch on 10/16/2012