Skip to main content
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:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next

Attach/detach - thanks!

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

copy attachments (~Autumn Elboosi... 13.Sep.11)
. . Re: copy attachments (~Wendy Zentooko... 13.Sep.11)
. . . . Thanks (~Autumn Elboosi... 13.Sep.11)
. . . . Attach/detach - thanks! (~Umberto Quetwe... 16.Oct.12)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS