Re: copy of email

Tech-Archive recommends: Fix windows errors by optimizing your registry



You can either save the old value of PR_SENTMAIL_ENTRYID, point it to your
own folder, do your processing in that folder after the message is sent,
then used the old (saved) value of PR_SENTMAIL_ENTRYID to move it to that
folder.
Or you can check a couple of named properties that are set when a user
select a non-default account, then use the IOlkAccountManager API to figure
out the name and e-mai address that Outlook will use. Or
IMAPSession::QueryIdentity if those properties are not present.
--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

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

"Reesh" <Reesh@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:D272948B-4D7B-401A-8559-E82EDC3C7ABE@xxxxxxxxxxxxxxxx
Sent Items folder couldn't take a copy of every outgoing email. becoz
"Save
copies of messages in sent items folder" is user's choice in
tools->options->preferences->email options.

I can take a copy of an email into mapi folder except sender properties.

Is there any other method to take a copy of an outgoing email?(other than
Sent Items folder)

Regards,
--
Reesh


"Dmitry Streblechenko" wrote:

I am not sure what what your question is... Are you trying to retrieve
the
sender properties when a message is being sent?
OnSubmit/OnWrite callbacks fire before the message is handed to a
spooler/transport provider, which sets the sender related properties.
The earliest you can access these properties is when the message is moved
to
the Sent Items folder. You can set up and advise sink on tehe SEnt Items
folder contacnts table to get notified when a new message is created
there.

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

"Reesh" <Reesh@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:C234B790-C527-4665-9B23-821E9D2DA56E@xxxxxxxxxxxxxxxx
I overridden OnWriteComplete method of IExchExtMessageEvents. I created
new
empty message under "xxx" mapi folder then "CopyTo" ,"SaveChanges" of
new
msg
and updated PR_MESSAGE_FLAGS property on new msg. I got Outgoing mail
properties except sendermailaddress. How do I get a copy of outgoing
mail
in
Outlook using ece?

Thanks in advance.

Regards,
--
Reesh





.



Relevant Pages

  • Re: Outlook displays two identical Personal Folders
    ... Create a new mail profile and point it to reuse your current active .pst ... Milly Staples [MVP - Outlook] ... ||| Folder in the folder list. ...
    (microsoft.public.outlook.installation)
  • Re: WTF is right with OE? and how to remove it. LONG!
    ... > you an SASE for a photo of those instructions. ... The instructions say Windows 2000, this works for XP as well just substitute ... the Windows folder for the Winnt folder used in the instructions. ... Outlook Express 5.x and 6.0 on a computer that is running Microsoft Windows ...
    (news.software.readers)
  • Re: Inbox, Sent Items & Outbox in Deleted Items in Outlook 2003 & OWA with Exchange
    ... Try starting Outlook one time with the /resetfolders switch. ... | notebook) against the same hosted Exchange account offered by an ISP. ... | - Inbox occasionally automatically "moves" to Deleted Items folder! ...
    (microsoft.public.outlook)
  • Re: archive bit not set on mail folders?
    ... Because of this tendency of attachments to infect, Microsoft has now set OE to block all attachments. ... Cannot Open E-Mail Attachments in Outlook Express After You Install SP1 ... If you choose to adjust OE to allow attachments, make sure you save the attachment to disk first and then scan it with your antivirus software. ... When a message is deleted, moved or marked as read in an OE message file, then wasted space is generated in that file, and the folder must be compacted to remove that wasted space. ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: msoe.dll
    ... Double-click to expand the HKEY_LOCAL_MACHINE folder, ... click to select the Microsoft Outlook ... Don't open attachments. ... > attachment to disk first and then scan it with your antivirus software. ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)