Share via


PostItem Object

Outlook Developer Reference

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.

Visual Basic for Applications
  Set myItem = myOlApp.CreateItem(olPostItem)

See Also