Muokkaa

Jaa


PostItem object (Outlook)

Represents a post in a public folder that others may browse.

Remarks

Unlike a MailItem object, a PostItem object is not sent to a recipient. You use the Post method, which is analogous to the Send method for the MailItem object, to save the PostItem to the target public folder instead of mailing it.

Use the CreateItem or CreateItemFromTemplate method to create a PostItem object that represents a new post.

Use Items (index), where index is the index number of a post or a value used to match the default property of a post, to return a single PostItem object from a public folder.

Example

The following example returns a new post.

Set myItem = myOlApp.CreateItem(olPostItem)

Events

Name
AfterWrite
AttachmentAdd
AttachmentRead
AttachmentRemove
BeforeAttachmentAdd
BeforeAttachmentPreview
BeforeAttachmentRead
BeforeAttachmentSave
BeforeAttachmentWriteToTempFile
BeforeAutoSave
BeforeCheckNames
BeforeDelete
BeforeRead
Close
CustomAction
CustomPropertyChange
Forward
Open
PropertyChange
Read
ReadComplete
Reply
ReplyAll
Send
Unload
Write

Methods

Name
ClearConversationIndex
ClearTaskFlag
Close
Copy
Delete
Display
Forward
GetConversation
MarkAsTask
Move
Post
PrintOut
Reply
Save
SaveAs
ShowCategoriesDialog

Properties

Name
Actions
Application
Attachments
AutoResolvedWinner
BillingInformation
Body
BodyFormat
Categories
Class
Companies
Conflicts
ConversationID
ConversationIndex
ConversationTopic
CreationTime
DownloadState
EntryID
ExpiryTime
FormDescription
GetInspector
HTMLBody
Importance
InternetCodepage
IsConflict
IsMarkedAsTask
ItemProperties
LastModificationTime
MarkForDownload
MessageClass
Mileage
NoAging
OutlookInternalVersion
OutlookVersion
Parent
PropertyAccessor
ReceivedTime
ReminderOverrideDefault
ReminderPlaySound
ReminderSet
ReminderSoundFile
ReminderTime
RTFBody
Saved
SenderEmailAddress
SenderEmailType
SenderName
Sensitivity
SentOn
Session
Size
Subject
TaskCompletedDate
TaskDueDate
TaskStartDate
TaskSubject
ToDoTaskOrdinal
UnRead
UserProperties

See also

Outlook Object Model Reference

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.