开发者

Read updated message body in Outlook 2003

开发者 https://www.devze.com 2023-01-07 04:11 出处:网络
I have an application that uses the Redemption library.A user can open a meeting and add some n开发者_开发知识库otes to a cancellation.Prior to them editing it, the message body is already set with so

I have an application that uses the Redemption library. A user can open a meeting and add some n开发者_开发知识库otes to a cancellation. Prior to them editing it, the message body is already set with some default text. Is there a way to get the new updated message body after the message is open and before the message is sent? Using

safeItem.Body

where safeItem is a SafeAppointmentItem from Redemption doesn't seem to work. Any help would be greatly appreciated.

Update:

If I change the call to:

Set app = Outlook.Application
Set bodyText = app.ActiveInspector.CurrentItem.Body

it works but, I get a warning popup (which is unacceptable).


I've found the answer to this. Calling a

safeItem.save

will update the item.body.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号