@MailSend vs Send Method

Hello,What is the best way to email an internet (mime) user a Notes document that has rich text, numeric and text fields.

I’m trying to accomplish the same results as if I were to cut and paste a Notes document into the body of an email and send it.

Any ideas or solutions at this point would be greatly appreciated

Thanks

BB

Subject: Easy way - but don’t understand if this is what you need…

On database properties tab, Check to Allow use of stored forms.

Select the document > Actions > Forward

Subject: Storing form only works for Notes mail.

Using stored forms doesn’t work with SMTP mail, so that’s a no-go.

You could, however use notesDocument.renderToRTItem() to render the visual contents of a document with the associated form to the Body field of an email, and then simply use the notesDocument.send() method to send it (setting appropriate subject, recipient etc).

Remember to call notesRichTextItem.update() before sending the document.