Creation new message in Inbox folder

Status
Not open for further replies.
Q

QWxleEQ

Greetings,

I'm writing a program for synchronization messages from external database to

MS Outlook.

And I got some problems:

1. I don't know how I can avoid the message on the top of mine "This message

has not been sent."

2. Even when I set the property "PR_MESSAGE_DELIVERY_TIME" I see the time

when I created message but not the time I wanted (two days earlier)

Thanks,

Alex.
 
K

Ken Slovak - [MVP - Outlook]

You can't create an email item in Sent state. If you are using a MAPI

wrapper such as Redemption or using Extended MAPI you can create a Post item

and set its Sent state and then save it and then convert the MessageClass

from "IPM.Post" to "IPM.Note". That will get rid of the unsent state, but

that must be done before the item is first saved. After that the property is

read-only.

Unless you mess with your system clock you cannot create an item with a

created date some time in the past.

"AlexD" <AlexD> wrote in message

news:E3863A65-B21E-44F8-BEAE-9025F517477E@microsoft.com...
> Greetings,

> I'm writing a program for synchronization messages from external database
> to
> MS Outlook.
> And I got some problems:
> 1. I don't know how I can avoid the message on the top of mine "This
> message
> has not been sent."
> 2. Even when I set the property "PR_MESSAGE_DELIVERY_TIME" I see the time
> when I created message but not the time I wanted (two days earlier)

> Thanks,
> Alex.
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
K Disabling import/export button to restrict PST creation Using Outlook 3
R New Account creation Wizzard Using Outlook 1
JorgeDario How to restrict the creation of new folders? Outlook VBA and Custom Forms 2
M Email notification on creation of an appointment shared calendar? Outlook VBA and Custom Forms 3
K Different kind of issue related to creation of archive after one has been deleted Exchange Server Administration 1
wallisellener database creation failed BCM (Business Contact Manager) 0
G Email form/template creation Using Outlook 1
T Outlook 2003 free busy vfb file creation problem Using Outlook 12
M Send email on task creation? Using Outlook 2
S Macro to speed email creation Outlook VBA and Custom Forms 4
B Re: Outlook Forms E-mail Creation Sending Blank Fields Outlook VBA and Custom Forms 1
T BCM 2007: Accounts creation or opening fails BCM (Business Contact Manager) 1
M Template creation Outlook VBA and Custom Forms 1
D Macro creation for Outlook insert subject Outlook VBA and Custom Forms 1
R One Click business contact record creation - From an E Mail? BCM (Business Contact Manager) 1
R one button business contact creation BCM (Business Contact Manager) 1
A Outlook Forms Creation Outlook VBA and Custom Forms 3
U Outlook Addin Creation using Visual Studio 2008 Outlook VBA and Custom Forms 1
A rule name into message - how? Outlook VBA and Custom Forms 5
A Links in email getting error message about group policy Using Outlook 4
O How to find and replace a word in Outlook-Agenda-Subject and Message? Using Outlook 0
X Open Hyperlinks in an Outlook Email Message (Help with Diane's solution) Outlook VBA and Custom Forms 3
Commodore Unable to move message Using Outlook 3
Y Disable Microsoft Outlook Test Message Using Outlook 5
S Unable to change Message Class Outlook VBA and Custom Forms 0
S Changing Message Class Outlook VBA and Custom Forms 4
Cathy Rhone Mail merge error message Using Outlook 2
C Can't Locate an Unread Message in my Outlook view pane Using Outlook 0
G Send a greeting message to a contact on birthday Outlook VBA and Custom Forms 5
B Inconsistent handling of message read/unread status by Outlook Using Outlook 3
N Save Selected Email Message as .msg File Outlook VBA and Custom Forms 12
T Macro to move reply and original message to folder Outlook VBA and Custom Forms 6
O Outlook 2010 Add delete button to the side of the message list Using Outlook 1
Cathy Rhone The properties of the message have been changed Using Outlook 1
S Outlook 2016 A Shortcut to recall and delete and sent message. Using Outlook 1
T vba extract data from msg file as attachment file of mail message Outlook VBA and Custom Forms 1
S Unable to extract text from an Outlook email message Using Outlook 2
R Outlook 2016 Message-ID oddity/inconsistency? Using Outlook 7
J Implement Keywords based on body message Outlook VBA and Custom Forms 0
C must select message to trigger safe list Using Outlook 3
witzker HowTo Change message Class of contact form Outlook VBA and Custom Forms 0
D.Moore VB script to Digitaly Sign newly created outlook message Outlook VBA and Custom Forms 2
O VBA Outlook Message Attachment - Array Index Out of Bounds Outlook VBA and Custom Forms 0
W September 2020 - No Default Email Client message after Office Update Using Outlook 1
A Flag Message for Follow Up after sending Outlook VBA and Custom Forms 1
S Outlook (2016 32bit; Gmail IMAP) - Save sent message to Outllook Folder Outlook VBA and Custom Forms 0
C Why won't Title display in message list? Using Outlook 1
icacream content in this message could not be downloaded.... Using Outlook 2
J Outlook 2016 After a search in all mailboxes, where is each message that was found? Using Outlook 6
R Warn before sending message Outlook VBA and Custom Forms 4

Similar threads

Top