![]() |
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
|
|||
|
|||
![]()
I am new to outlook add-in programming and have found that if I access items
in the outbox, they are corrupted in some way that then prevents them being sent by outlook. It appears that the sentto date is not set to a valid date. This happens just be trapping the new item event on the outbox and tracing some date from the mail item. |
#2
|
|||
|
|||
![]()
Every time you touch an item being submitted using the Outlook Object Model,
the submission is canceled. -- Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool - "Richard" wrote in message ... I am new to outlook add-in programming and have found that if I access items in the outbox, they are corrupted in some way that then prevents them being sent by outlook. It appears that the sentto date is not set to a valid date. This happens just be trapping the new item event on the outbox and tracing some date from the mail item. |
#3
|
|||
|
|||
![]()
Dmitry,
This is interesing news. Sergey did not give me that information. Can the submission be reinstated, so I can process in the outbox new item event and then have the item sent? "Dmitry Streblechenko" wrote: Every time you touch an item being submitted using the Outlook Object Model, the submission is canceled. -- Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool - "Richard" wrote in message ... I am new to outlook add-in programming and have found that if I access items in the outbox, they are corrupted in some way that then prevents them being sent by outlook. It appears that the sentto date is not set to a valid date. This happens just be trapping the new item event on the outbox and tracing some date from the mail item. |
#4
|
|||
|
|||
![]()
Sure, cal MailItem.Send again.
But it is better, just as Ken suggested, to use Application.ItemSend event. -- Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool - "Richard" wrote in message ... Dmitry, This is interesing news. Sergey did not give me that information. Can the submission be reinstated, so I can process in the outbox new item event and then have the item sent? "Dmitry Streblechenko" wrote: Every time you touch an item being submitted using the Outlook Object Model, the submission is canceled. -- Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool - "Richard" wrote in message ... I am new to outlook add-in programming and have found that if I access items in the outbox, they are corrupted in some way that then prevents them being sent by outlook. It appears that the sentto date is not set to a valid date. This happens just be trapping the new item event on the outbox and tracing some date from the mail item. |
#5
|
|||
|
|||
![]()
Either handle the Send event for the item or the Application.ItemSend event,
never mess with items that have been submitted for transmission. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Richard" wrote in message ... I am new to outlook add-in programming and have found that if I access items in the outbox, they are corrupted in some way that then prevents them being sent by outlook. It appears that the sentto date is not set to a valid date. This happens just be trapping the new item event on the outbox and tracing some date from the mail item. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Items not moing from Outbox to Sent | meow9th | Outlook and VBA | 1 | January 28th 08 07:17 AM |
Bypassing Outlook's Outbox (or creating a custom outbox) | Ekin | Outlook and VBA | 12 | January 21st 08 02:52 PM |
2 issues with outlook (language of folders and items remain in outbox) | Freaky | Outlook - General Queries | 1 | July 30th 07 01:27 PM |
Select all items in outbox | Joel | Outlook and VBA | 1 | November 27th 06 06:09 AM |
Inbox, Sent Items & Outbox in Deleted Items in Outlook 2003 & OWA with Exchange | splounx | Outlook - General Queries | 1 | February 17th 06 02:22 AM |