Sorry for the trouble, but need some more help. What I do is...
- create a text file which could be from 4K to 14K.
- create Outlook object + mail item
- fillup the "To" recepients from a field from table
- fillup the body with contents of text file
- display the mail item to user and then they have a choice to modify the contents if they wish and they would click "send" button (that's why I use .Display method instead of .Send)
Is there a better way of avoiding the creation of text file and write directly to outlook?
Regards
P.S: Also, due to above procedure I am not able to release the outlook object as well since the user would do "send part".
>As an alternative, you can directly assign the body to the TStream.readall (see below)
>
>
>...
> .Body = TStream.ReadAll
>...
>