A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Outlook 2003 first email open problem



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old February 13th 06, 03:38 PM posted to microsoft.public.outlook.program_addins
Andy Larter
external usenet poster
 
Posts: 3
Default Outlook 2003 first email open problem

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  
Old February 14th 06, 08:19 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Outlook 2003 first email open problem

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  
Old February 20th 06, 12:58 PM posted to microsoft.public.outlook.program_addins
Andy Larter
external usenet poster
 
Posts: 3
Default Outlook 2003 first email open problem

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  
Old February 20th 06, 03:51 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Outlook 2003 first email open problem

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  
Old February 21st 06, 06:26 PM posted to microsoft.public.outlook.program_addins
Andy Larter
external usenet poster
 
Posts: 3
Default Outlook 2003 first email open problem

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  
Old February 22nd 06, 04:17 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Outlook 2003 first email open problem

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
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


All times are GMT +1. The time now is 08:48 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.