Can I create an attachment without a file?

Is there a way to create an attachment without a file?

CreateAttachment only takes a filename or another attachment - I have a buffer in memory that I want to write as an attachment without creating a temporary file.

Thx

dB.

Subject: What is “CreateAttachment”?

Subject: RE: What is “CreateAttachment”?

C++ APILNNote::CreateAttachment

Attaches a file to the note.

Subject: Can I create an attachment without a file?

Maybe you can save that out to a text file and then attach the file and then delete the temporary document?You’d have to have really high-level access to be able to do this on a server…but if you’re in a client environment it should be pretty easy.