![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Hi,
I'm having a problem with my Outlook 2003 addin. My addin is required to process e-mails before the user reads the text. When a new inspector is opened, my addin examines the body text and if necessary processes the text and stores the result back into the Body member. This works fine for most of the time. Unfortunately it seems that Outlook is replacing my body text when the first email is read. The new inspector event gets fired, my processing runs and replaces the body but by the time the email is displayed, the original text is back in the Body member. After the first mail item is opened, the addin works fine. Can anyone suggest a work around for this problem? If I execute my code in response to a toolbar button click, the processing works ok, so at the minute I have to tell users to manually click the button the first time they read a mail (which isn't very friendly). Thanks in advance, Andy |
Ads |
#2
|
|||
|
|||
![]()
Try waiting until the first Inspector.Activate event fires before making the
change and see what happens. Set a flag in that code so it won't run again if the Inspector becomes deactivated and then re-activated. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Andy Larter" wrote in message ... Hi, I'm having a problem with my Outlook 2003 addin. My addin is required to process e-mails before the user reads the text. When a new inspector is opened, my addin examines the body text and if necessary processes the text and stores the result back into the Body member. This works fine for most of the time. Unfortunately it seems that Outlook is replacing my body text when the first email is read. The new inspector event gets fired, my processing runs and replaces the body but by the time the email is displayed, the original text is back in the Body member. After the first mail item is opened, the addin works fine. Can anyone suggest a work around for this problem? If I execute my code in response to a toolbar button click, the processing works ok, so at the minute I have to tell users to manually click the button the first time they read a mail (which isn't very friendly). Thanks in advance, Andy |
#3
|
|||
|
|||
![]()
Thanks Ken. It was a good suggestion but it still seems to be too
early. The body is still being replaced. Andy. On Tue, 14 Feb 2006 14:19:22 -0500, "Ken Slovak - [MVP - Outlook]" wrote: Try waiting until the first Inspector.Activate event fires before making the change and see what happens. Set a flag in that code so it won't run again if the Inspector becomes deactivated and then re-activated. |
#4
|
|||
|
|||
![]()
There has to be something else going on then. I've never seen Outlook behave
differently in this respect for the first email opened up and later ones. Is this with WordMail only or the Outlook editor only or with either editor? Anything like message format causing any differences (HTML, plain text, RTF)? -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Andy Larter" wrote in message ... Thanks Ken. It was a good suggestion but it still seems to be too early. The body is still being replaced. Andy. |
#5
|
|||
|
|||
![]()
We are currently not suporting WordMail (this will be added in the
next version). The problem is exactly the same for plain text, HTML, and rich text. On Mon, 20 Feb 2006 09:51:51 -0500, "Ken Slovak - [MVP - Outlook]" wrote: There has to be something else going on then. I've never seen Outlook behave differently in this respect for the first email opened up and later ones. Is this with WordMail only or the Outlook editor only or with either editor? Anything like message format causing any differences (HTML, plain text, RTF)? |
#6
|
|||
|
|||
![]()
Well, I've still never seen that behavior in any of my addins so something
else must be going on. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Andy Larter" wrote in message ... We are currently not suporting WordMail (this will be added in the next version). The problem is exactly the same for plain text, HTML, and rich text. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Outlook 2003 can't open attachment | ssardam | Outlook - General Queries | 0 | March 6th 06 03:45 PM |
I can't open pictures sent to me in emails using outlook 2003 | lest616 | Outlook - Installation | 1 | March 2nd 06 05:03 PM |
I get multiple copies of the same email every time I open outlook | Rick | Outlook - General Queries | 1 | February 11th 06 06:58 PM |
Outlook and OE email problem | Ramon A. Aranguren | Outlook - General Queries | 2 | January 13th 06 09:43 PM |
Outlook slow to open an email with an attachment. | PeterB | Outlook - General Queries | 0 | January 11th 06 02:36 AM |