I have been running two or three instances for years and did a good bit of testing early on to determine that the last started instance was the one that gets invoked. That behavior changed yesterday and today even though all instance were started each morning. Shortly after I posted I shut down all instances and then started them like I do every morning and the behavior was back to invoking the last instance started.
The info about the last run instance is stored in HKEY_CURRENT_USER\Software\Pegasus Mail but when the wrong instance was being invoked it was not the instance stored in this key. That is the piece of the puzzle I am trying to figure out. I also wonder if a delay in the startup of one of the instances might have caused the problem although I have a long enough pauses built into my batch file that this should not be an issue. This really is not a big deal, more of a curiosity thing about how the instance invoked is determined.
Just for clarity, I manually start an instance from a USB stick. Once that is loaded and has checked for new messages I run the batch file which starts two instances from an installation on an office server. One is my personal mailbox, the other is the office catchall mailbox. There is a delay of a number of seconds (don't remember how many) built into the batch file to allow the my personal mailbox instance to fully load before the catchall instance starts. I work mostly in the catchall instance so that is the one that I need to be invoked by mailto and sendto. The registry entries associated with wsendto point to the server but they don't appear relevant. With two instances running from that shared install there is an elusive something else that determines which running instance gets invoked. This is reinforced by the fact that when I start the USB instance last it is normally the one that gets invoked.
Again, no big deal. Just curious.
<p>I have been running two or three instances for years and did a good bit of testing early on to determine that the last started instance was the one that gets invoked.&nbsp; That behavior changed yesterday and today even though all instance were started each morning.&nbsp; Shortly after I posted I shut down all instances and then started them like I do every morning and the behavior was back to invoking the last instance started.</p><p>The info about the last run instance is stored in HKEY_CURRENT_USER\Software\Pegasus Mail but when the wrong instance was being invoked it was not the instance stored in this key.&nbsp; That is the piece of the puzzle I am trying to figure out.&nbsp; I also wonder if a delay in the startup of one of the instances might have caused the problem although I have a long enough pauses built into my batch file that this should not be an issue.&nbsp; This really is not a big deal, more of a curiosity thing about how the instance invoked is determined.</p><p>Just for clarity, I manually start an instance from a USB stick.&nbsp; Once that is loaded and has checked for new messages I run the batch file which starts two instances from an installation on an office server. One is my personal mailbox, the other is the office catchall mailbox.&nbsp; There is a delay of a number of seconds (don't remember how many) built into the batch file to allow the my personal mailbox instance to fully load before the catchall instance starts.&nbsp; I work mostly in the catchall instance so that is the one that I need to be invoked by mailto and sendto.&nbsp; The registry entries associated with wsendto point to the server but they don't appear relevant.&nbsp; With two instances running from that shared install there is an elusive something else that determines which running instance gets invoked.&nbsp; This is reinforced by the fact that when I start the USB instance last it is normally the one that gets invoked.</p><p>Again, no big deal.&nbsp; Just curious.
</p><p>&nbsp;</p>