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.
 
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
M Search message, then (1) Jump to folder & (2) Select message that you searched for Outlook VBA and Custom Forms 2
Kika Melo How to mark as Junk any message not from Contacts (in Outlook.com) Using Outlook 3
G Outlook 365 My iCloud Outlook doesn’t work after reinstalling Microsoft365 on Windows 10 PC – now I get error message on contacts and calendar Using Outlook 1
G Get current open draft message body from VBA Outlook VBA and Custom Forms 1
E Outlook 365 Save Selected Email Message as .msg File - oMail.Delete not working when SEARCH Outlook VBA and Custom Forms 0
HarvMan Outlook 365 - Rule to Move an Incoming Message to Another Folder Using Outlook 4
F Outlook 2019 Forwarding Message and Keeping Unread Status Outlook VBA and Custom Forms 0
E Save Selected Email Message as .msg File - digitally sign email doesn't works Outlook VBA and Custom Forms 1
C Populate form data into message body Outlook VBA and Custom Forms 1
J Outlook 365 Add keywords from Listbox to the message body where cursor is placed Outlook VBA and Custom Forms 0
B How to create a button that sorts and selects the most recent message with ONE click Using Outlook 2
P "Item could not be moved" message occurs frequently for IMAP inbox, Office 365 Using Outlook 0
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 4
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 1
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

Similar threads

Back
Top