Re: Restore message into user's inbox and setting From data
- From: "na" <na@xxxxxx>
- Date: Sun, 8 Jul 2007 08:14:21 -0500
"Dmitry Streblechenko" <dmitry@xxxxxxxxxxx> wrote in message
news:OJvJxzBwHHA.4916@xxxxxxxxxxxxxxxxxxxxxxx
2. You must also set the PR_SENDER_ENTRYID property. Since you know the
sender name/address/address type, you can create a one-off entry id on the
fly.
Can I use the original PR_SENDER_ENTRYID if I save it first? I have
successfully used CreateOneOff() before. I guess the issue would be if
the email is from an "EX" type and the user has been deleted the old
PR_SENDER_ENTRYID would be invalid?
"na" <na@xxxxxx> wrote in message
news:eo2hDSBwHHA.3400@xxxxxxxxxxxxxxxxxxxxxxx
Hello,
I have coping a message out of a user's inbox into a SQL Database. For
testing I am
trying to write the message back and all seems well except that the From
field is blank.
Also when you open the message in Outlook 2003 you can click on "Send"
instead of "Reply"
like the original.
Below are all the Properties I am setting:
ePR_MSG_EDITOR_FORMAT,ePR_RTF_IN_SYNC,ePR_CLIENT_SUBMIT_TIME,ePR_MESSAGE_DELIVERY_TIME,ePR_CONVERSATION_TOPIC,
ePR_IMPORTANCE,ePR_INTERNET_MESSAGE_ID,ePR_MESSAGE_CC_ME,ePR_MESSAGE_CLASS,ePR_MESSAGE_CODEPAGE,
ePR_MESSAGE_FLAGS,ePR_MESSAGE_LOCALE_ID,ePR_MESSAGE_RECIP_ME,ePR_MESSAGE_TO_ME,
ePR_PRIORITY,ePR_READ_RECEIPT_REQUESTED,ePR_RECEIVED_BY_EMAIL_ADDRESS,ePR_RECEIVED_BY_NAME,
ePR_SENDER_EMAIL_ADDRESS,ePR_SENDER_NAME,ePR_SENSITIVITY,ePR_SUBJECT,ePR_TRANSPORT_MESSAGE_HEADERS,
ePR_SENDER_ADDRTYPE,ePR_INTERNET_CPID,ePR_BODY
I have adding the original receipts as well.
Any ideas?
.
- Follow-Ups:
- Re: Restore message into user's inbox and setting From data
- From: Dmitry Streblechenko
- Re: Restore message into user's inbox and setting From data
- References:
- Restore message into user's inbox and setting From data
- From: na
- Re: Restore message into user's inbox and setting From data
- From: Dmitry Streblechenko
- Restore message into user's inbox and setting From data
- Prev by Date: Re: Restore message into user's inbox and setting From data
- Next by Date: Re: Restore message into user's inbox and setting From data
- Previous by thread: Re: Restore message into user's inbox and setting From data
- Next by thread: Re: Restore message into user's inbox and setting From data
- Index(es):
Relevant Pages
|