• Outlook 2000 VBA> Item.send sent but also in outbo (Outlook 2000)

    Home » Forums » AskWoody support » Productivity software by function » Visual Basic for Applications » Outlook 2000 VBA> Item.send sent but also in outbo (Outlook 2000)

    Author
    Topic
    #357645

    I’m writing a Custom send button macro that saves the current item, moves it to a folder, then sends it.
    What’s happening is the item is being sent ok, but appears or remains in the outbox. (users using exchange server 5.5)

    Any Ideas how to prevent this? I don’t want to clear out the outbox as the user could be offline.

    Thanks

    Viewing 1 reply thread
    Author
    Replies
    • #531785

      What folder are you moving it to?

      Why not just send it? A copy will be saved in the Sent folder unless your code restricts that functionality.

      Furthermore, what happends when you click Send/Receive? Does the item stranded in the Outbox stay there? If so, something’s wrong. If not, does the recipient then get 2 copies of the message?

    • #531952

      May I be so bold as to suggest you approach the SaveSentMessageFolder property with caution. I suspected that item might be related to your problem. You can actually inadvertantly rename a folder using that property. Read the help on that one very carefully. I speak from exerience…

      To prevent a message going to the sent folder, the property to use is:

      .DeleteAfterSubmit = True

      Good old MS and the weird, nerdy way those programmers do their thing. Get the logic here: copy the message item to the Sent folder, then delete it.

    Viewing 1 reply thread
    Reply To: Outlook 2000 VBA> Item.send sent but also in outbo (Outlook 2000)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: