Results 1 to 11 of 11
  1. #1
    5 Star Lounger ibe98765's Avatar
    Join Date
    Aug 2001
    Location
    Bay Area, California, USA
    Posts
    966
    Thanks
    19
    Thanked 4 Times in 4 Posts

    Help - Autostart/shutdown (2002/XP)

    I need to find a way to startup Outlook, let it run for a few minutes to get any mail, close it down and then repeat the process, say every hour. I need to do this because of the non-standard way that I have Outlook set up (I have separate account entries set up for receiving and sending email. Unfortunately, Microsoft INSISTS on trying to send (even though there is nothing to send) on the receiving account. It keeps trying to do this repeatedly. I have pages of errors because it can't complete a send and email gets delayed because of this problem). Since i will be traveling for a few days, I need to either automate a process or just leave email out on the server until I return. I thought this would be an easy task but it has turned out not to be.

    I tried to do this with the Windows Task Scheduler. However, it starts up Outlook OK but won't shut it down. I ran it last night and wound up with a whole lot of instances of Outlook hanging about. Here's what I set up in task scheduler:
    http://www.fototime.com/EA5C6273593604B/standard.jpg

    I next tried to tried to do this with a freeware scripting tool called NirCmdLine but couldn't get it to work. I looked at a macro program but don't have the time to figure it out since I need to get this working by Tuesday evening.

    Has anyone tackled this problem? I imagine someone must have a way to do this, perhaps with VB/Java script but I don't know either one myself.

    Thanks in advance!

  2. #2
    4 Star Lounger
    Join Date
    Aug 2003
    Location
    Stroud, United Kingdom
    Posts
    548
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Help - Autostart/shutdown (2002/XP)

    Hi, to clarify, do you want outlook to send at all, or just not to send on the receiving account?

    Do you want outlook to recieve on all accounts and only to send on a certain account?
    Thanks,

    pmatz

  3. #3
    5 Star Lounger ibe98765's Avatar
    Join Date
    Aug 2001
    Location
    Bay Area, California, USA
    Posts
    966
    Thanks
    19
    Thanked 4 Times in 4 Posts

    Re: Help - Autostart/shutdown (2002/XP)

    Hi, to clarify, do you want outlook to send at all, or just not to send on the receiving account?

    Do you want outlook to receive on all accounts and only to send on a certain account?
    ----------------------------------------------------
    For the purposes of autostart, I want it to receive and send on both accounts. It normally will do this automatically when it starts up. However, sometimes I will queue something to be sent at a later time the following day. Then it doesn't get sent until I shutdown Outlook and restart it.

    btw: I never had these problems with Outlook 2002 UNTIL I installed the last batch of Windows hotfixes back in April, I think, sigh. Thanks Microsoft!

  4. #4
    4 Star Lounger
    Join Date
    Aug 2003
    Location
    Stroud, United Kingdom
    Posts
    548
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Help - Autostart/shutdown (2002/XP)

    You could leave Outlook open and set it to send / recieve every hour by using the settings in :

    Tools/Options/Mail Setup/SendRecieve

    any help?
    Thanks,

    pmatz

  5. #5
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Help - Autostart/shutdown (2002/XP)

    Outlook allows you to pair non-matching incoming and outgoing servers in the same "account." In other words, you can set up your accounts to receive from multiple different ISPs' servers but send out all through a single ISP's server (the one supported by your currently active ISP). If you need to authenticate to the outgoing server, no problem, you can enter credentials for the outgoing server independent of the incoming account being checked. This should resolve the issue of error messages. Would you mind testing it?

    Regarding your JPG, to embed an image directly in your post, surround the URL with the <!t>[image]<!/t> and <!t>[/image]<!/t> tags. See the 1-Click

  6. #6
    5 Star Lounger ibe98765's Avatar
    Join Date
    Aug 2001
    Location
    Bay Area, California, USA
    Posts
    966
    Thanks
    19
    Thanked 4 Times in 4 Posts

    Re: Help - Autostart/shutdown (2002/XP)

    No that won't help.

  7. #7
    5 Star Lounger ibe98765's Avatar
    Join Date
    Aug 2001
    Location
    Bay Area, California, USA
    Posts
    966
    Thanks
    19
    Thanked 4 Times in 4 Posts

    Re: Help - Autostart/shutdown (2002/XP)

    <hr>Outlook allows you to pair non-matching incoming and outgoing servers in the same "account." In other words, you can set up your accounts to receive from multiple different ISPs' servers but send out all through a single ISP's server (the one supported by your currently active ISP). If you need to authenticate to the outgoing server, no problem, you can enter credentials for the outgoing server independent of the incoming account being checked. This should resolve the issue of error messages. Would you mind testing it?<hr>

    Been there, done that. It doesn't work for me. The crux of the problem is that on the "receive" account, I have the "Incoming mail server (POP3):" defined but the "Outgoing mail server (SMTP)" is set to the word "DUMMY". This ensures that no way, no how can Outlook send from this account. I have the reverse setup for the "Send" account.

    Now, under Tools-Send/Receive Settings-Define Send/Receive groups, I have 2 groups - Receive group and Send group. Both have these 2 checkboxes marked on:
    Include this group in send/receive (F9).
    Schedule an automatic send/receive every 5 minutes


    From this window, if I edit the Receive group, I have 2 checkbox choices on the right-hand side (Send mail items and Receive mail items). I have Receive mail items checked ON and Send mail items checked OFF. So one would think that Outlook WOULDN'T try to send mail when processing the Receive account. Of course, one would be wrong! Microsoft IGNORES these checkboxes and tries to do a full cycle send/receive ANYWAY.

    And here is what an Outlook session looks like with this problem (this was a newer session. These error messages and retry attempts can go on and on for pages and pages and pages):
    http://www.fototime.com/86026BEAE652B1F/standard.jpg

    So this is why I need to be able to autostart and shutdown Outlook...

  8. #8
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Help - Autostart/shutdown (2002/XP)

    Do you have Outlook sent to "send immediately when connected?" It could be that incoming messages on your Receiving account somehow are triggering a send, whether as a result of a read receipt, a rule, etc.

    I suggest this possibility because I created an account with a valid POP server and xxxxxxxx as the SMTP server. Outlook 2002 gave me no errors when sending and receiving on that account.

    (I think my fix is easiest, but if it didn't work, I couldn't tell you why.)

  9. #9
    5 Star Lounger ibe98765's Avatar
    Join Date
    Aug 2001
    Location
    Bay Area, California, USA
    Posts
    966
    Thanks
    19
    Thanked 4 Times in 4 Posts

    Re: Help - Autostart/shutdown (2002/XP)

    <hr>Do you have Outlook sent to "send immediately when connected?" It could be that incoming messages on your Receiving account somehow are triggering a send, whether as a result of a read receipt, a rule, etc.

    I suggest this possibility because I created an account with a valid POP server and xxxxxxxx as the SMTP server. Outlook 2002 gave me no errors when sending and receiving on that account.

    (I think my fix is easiest, but if it didn't work, I couldn't tell you why.) <hr>

    Take a look at this screenshot:
    http://www.fototime.com/9CA90E9BEA87420/orig.gif

    Outlook seems by default to want to do both a send and a receive, REGARDLESS of what settings actually are. I had this problem back in Outlook 2000. When I switched to Outlook 2002, the problem went away. Now it has returned. I don't know why either. Maybe it's an MS trick to force me to upgrade to OL2003? <img src=/S/confused.gif border=0 alt=confused width=15 height=20>

    I mean, if I explicitly tell Outlook NOT to try and send on any account and it does so anyway (and has done this in 2000 and 2002), then it seems like MS is not running their code correctly.

  10. #10
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Help - Autostart/shutdown (2002/XP)

    I understand what you're saying, but here's my point: In my experience, Outlook does not try to send if there is nothing to send. That is why when I substitute a totally invalid outgoing server name and tell Outlook to "send and receive," I do not get an error message.

    You could try (1) turning off "Send immediately when connected" (Tools>Options...>Mail Setup), or (2) substituting a valid outgoing server, and see if that helps. Otherwise, you really need to suss out whether Outlook in fact is generating some kind of outgoing message and try to stop it from doing so.

  11. #11
    5 Star Lounger ibe98765's Avatar
    Join Date
    Aug 2001
    Location
    Bay Area, California, USA
    Posts
    966
    Thanks
    19
    Thanked 4 Times in 4 Posts

    Re: Help - Autostart/shutdown (2002/XP)

    Ihave tried turning off the checkbox for "Send immediately when connected". I did this yesterday. I didn't expect any change BUT this appears to have solved the problem! I don't understand why though.

    The help for this parameter says "Select the checkbox if you want Outlook to perform a send/receive as soon as it is connected". I still contend that if I have the send checkbox unchecked in the send/receive settings, that this setting should override any other Outlook setting (effectively disabling send functionality on the account). Instead, the "send immediately" seems to override basic account settings.

    The logic should be:
    - "Should I try to send on this account"?
    - "Is send enabled (check - is the send box checked on for this particular account")?
    - Yes - do send
    - No - skip send

    Anyway, thanks for your help!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •