I believe what I am trying to do is relatively easy and probably has been done many times before.
I am developing a simple help submission form that gathers data from a user and emails it to the helpdesk. Two of the fields available for the user are rich text fields with attachments and screenshots.
I’ve searched the web, the help, and the forums for information regarding how to go about this. So far I’ve come up with some info, but my attempts so far have been failures.
At one point I was able to get 1 attachment or 1 screenshot to send, but then I tried multiple and it threw an error (I forgot to screenshot it).
If anyone could point me in the right direction - maybe a good tutorial or at least the proper methods (I’ve looked at NotesEmbedded Object and EmbeddedObjects property already)
I did not understand you well, but why the user does not put the mouse inside the first Rich Text field and clicks on menu File → Attach and chose as many files as he wants?
Subject: SOLVED: Sending Attachments with Lotusscript
Well I figured out how to send attachments without any problems.
If doc.HasEmbedded Then
Dim attachments As NotesRichTextItem
Set attachments = doc.GetFirstItem("attachments")
Call body.AppendText("Attachments below:")
Call body.AddNewline(2)
Call body.AppendRTItem(attachments)
End If
Subject: RE: SOLVED: Sending Attachments with Lotusscript
John,I realize this is a very old post but I am still learning Lotusscript. Can you explain in more detail if this was a form and how it was setup? I am try to create a Lotus form with a RichText field that will allow people to send screenshots or attachments using Lotusscript.
What was the name of the field where they could place the item? Also, using the doc.HasEmbedded line is that for screenshots or attachments or both?