PC Review


Reply
Thread Tools Rate Thread

Adding mail items to the Sent Items folder

 
 
PromisedOyster
Guest
Posts: n/a
 
      16th Jun 2005
Does anyone know if it is possible to programmatically add MSG files to
the 'sent items' folder. Ideally, these messages would look exactly
like they had been sent via Outlook. (ie saying the message has been
sent).

Additionally, no warnings are to be presented to the user (eg the
Microsoft security warnings).

 
Reply With Quote
 
 
 
 
Michael Bauer
Guest
Posts: n/a
 
      16th Jun 2005
If they´re stored in the file system then load the files with
CreateItemFromTemplate, and move them into the SentItems folder.

You could use OutlookSpy (www.dimastr.com) to see which fields need to
be set manually (e.g. PR_CLIENT_SUBMIT_TIME) and if they can be set at
all or are read-only (e.g. PR_CREATION_TIME).

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook


"PromisedOyster" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Does anyone know if it is possible to programmatically add MSG files

to
> the 'sent items' folder. Ideally, these messages would look exactly
> like they had been sent via Outlook. (ie saying the message has been
> sent).
>
> Additionally, no warnings are to be presented to the user (eg the
> Microsoft security warnings).
>


 
Reply With Quote
 
Dmitry Streblechenko
Guest
Posts: n/a
 
      16th Jun 2005
Note that CreateItemFromTemplate creates a message in an unsent state and
does not set any sender/receiver related properties.
Extended MAPI or Redemption are the only two alternatives as CDO 1.21 does
not handle the MSG files.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Michael Bauer" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> If they´re stored in the file system then load the files with
> CreateItemFromTemplate, and move them into the SentItems folder.
>
> You could use OutlookSpy (www.dimastr.com) to see which fields need to
> be set manually (e.g. PR_CLIENT_SUBMIT_TIME) and if they can be set at
> all or are read-only (e.g. PR_CREATION_TIME).
>
> --
> Viele Gruesse / Best regards
> Michael Bauer - MVP Outlook
>
>
> "PromisedOyster" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> Does anyone know if it is possible to programmatically add MSG files

> to
>> the 'sent items' folder. Ideally, these messages would look exactly
>> like they had been sent via Outlook. (ie saying the message has been
>> sent).
>>
>> Additionally, no warnings are to be presented to the user (eg the
>> Microsoft security warnings).
>>

>



 
Reply With Quote
 
Michael Bauer
Guest
Posts: n/a
 
      16th Jun 2005
Thanks, Dmitry.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail folder items mysteriously moved to Deleted Items aalrr Microsoft Outlook Installation 1 6th Dec 2007 09:47 PM
32k limit when adding small contact items using RDOFolder.Items.Add Chris Microsoft Outlook VBA Programming 3 14th Dec 2005 09:02 AM
Adding items to 'Send To' folder Paul Robak Windows XP Customization 2 26th Mar 2004 02:23 AM
Outlook 2000 - unable to delete items from Deleted Items folder =?Utf-8?B?UGF0cmljaw==?= Microsoft Outlook Discussion 4 14th Mar 2004 12:14 AM
Moving Outlook Mail Items from Deleted Items to Public Folder Phil Greenway Microsoft Outlook VBA Programming 1 2nd Feb 2004 03:59 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:45 AM.