Error: Cannot access the document's original database to copy attachments

Hi,I create a memo doc to send mail. In this memo doc, attachments are copied from the other documents in the different databases. If the attachments are copied from the same database, I dont receive any problem. If the attachments are copied from the different database, I receive this problem, while sending.

Error: Cannot access the document’s original database to copy attachments

To explain bit more How I have done this is,

I have collected all the document links. Each document has one attachment. In the FOR loop one by one, I get the links. and get the handle of the database; get the handle of document; get the attachment and embed that attachment over the mail doc. At last I send the mail doc. At that time, I receive this error.

Any help will be highly appricated.

Thanks,

Murugan

Subject: Error: Cannot access the document’s original database to copy attachments

How do you “embed that attachment over the mail doc”?

Subject: Error: Cannot access the document’s original database to copy attachments

Problem is, that the attachments are in other databases than in the current one where you create your mail. The attachments notes are simply not available.

I stress to create temp. documents in your database, so that the attachments are really in your database. Then create and send the mail, then remove the attachment documents again.