in reply to Outlook MailItem Body Question
I know nothing about Outlook, and very little about OLE, but you read a value from an attribute
my $body = $items->Item($itemIndex)->Body;
modify it and then write it back to a hash element?
$items->Item($itemIndex)->{'Body'} = $body;
Which just doesn't seem right to me. It's a pure guess, but you might try
$items->Item($itemIndex)->Body = $body;
Assuming the Body attribute is writable through Win32::OLE, and I see no reason it shouldn't be, then that might give you the result you're after.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Outlook MailItem Body Question
by Anonymous Monk on Jan 06, 2004 at 19:19 UTC | |
by BrowserUk (Patriarch) on Jan 06, 2004 at 19:23 UTC | |
by Anonymous Monk on Jan 06, 2004 at 19:28 UTC | |
by BrowserUk (Patriarch) on Jan 06, 2004 at 19:40 UTC | |
by Anonymous Monk on Jan 06, 2004 at 20:15 UTC | |
by maa (Pilgrim) on Jan 07, 2004 at 09:30 UTC | |
by BrowserUk (Patriarch) on Jan 07, 2004 at 10:06 UTC | |
by maa (Pilgrim) on Jan 07, 2004 at 10:13 UTC |