code
stringlengths
15
9.96M
docstring
stringlengths
1
10.1k
func_name
stringlengths
1
124
language
stringclasses
1 value
repo
stringlengths
7
63
path
stringlengths
6
186
url
stringlengths
50
236
license
stringclasses
4 values
public function setCanAccept($value) { $this->setProperty("CanAccept", $value, true); }
@var bool
setCanAccept
php
vgrem/phpSPO
src/Outlook/Calendars/CalendarSharingMessage.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Calendars/CalendarSharingMessage.php
MIT
public function getSuggestedCalendarName() { if (!$this->isPropertyAvailable("SuggestedCalendarName")) { return null; } return $this->getProperty("SuggestedCalendarName"); }
@return string
getSuggestedCalendarName
php
vgrem/phpSPO
src/Outlook/Calendars/CalendarSharingMessage.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Calendars/CalendarSharingMessage.php
MIT
public function setSuggestedCalendarName($value) { $this->setProperty("SuggestedCalendarName", $value, true); }
@var string
setSuggestedCalendarName
php
vgrem/phpSPO
src/Outlook/Calendars/CalendarSharingMessage.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Calendars/CalendarSharingMessage.php
MIT
public function getCalendarView($startDateTime, $endDateTime) { $url = "CalendarView?startDateTime=" . rawurlencode($startDateTime->format(DateTime::ISO8601)) . "&endDateTime=" . rawurlencode($endDateTime->format(DateTime::W3C)); $events = new EntityCollection($this->getContext(), new ResourcePath($url, $this->getResourcePath()),Event::class); $qry = new ReadEntityQuery($events); $this->getContext()->addQueryAndResultObject($qry, $events); return $events; }
@param \DateTime $startDateTime @param \DateTime $endDateTime @return EntityCollection
getCalendarView
php
vgrem/phpSPO
src/Outlook/Calendars/Calendar.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Calendars/Calendar.php
MIT
public function getName() { return $this->getProperty("Name"); }
The calendar name. @return string
getName
php
vgrem/phpSPO
src/Outlook/Calendars/Calendar.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Calendars/Calendar.php
MIT
public function setName($value) { $this->setProperty("Name", $value, true); }
The calendar name. @var string
setName
php
vgrem/phpSPO
src/Outlook/Calendars/Calendar.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Calendars/Calendar.php
MIT
public function getChangeKey() { return $this->getProperty("ChangeKey"); }
Identifies the version of the calendar object. Every time the calendar is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only. @return string
getChangeKey
php
vgrem/phpSPO
src/Outlook/Calendars/Calendar.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Calendars/Calendar.php
MIT
public function setChangeKey($value) { $this->setProperty("ChangeKey", $value, true); }
Identifies the version of the calendar object. Every time the calendar is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only. @var string
setChangeKey
php
vgrem/phpSPO
src/Outlook/Calendars/Calendar.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Calendars/Calendar.php
MIT
public function getCanShare() { return $this->getProperty("CanShare"); }
@return bool
getCanShare
php
vgrem/phpSPO
src/Outlook/Calendars/Calendar.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Calendars/Calendar.php
MIT
public function setCanShare($value) { $this->setProperty("CanShare", $value, true); }
@var bool
setCanShare
php
vgrem/phpSPO
src/Outlook/Calendars/Calendar.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Calendars/Calendar.php
MIT
public function getCanViewPrivateItems() { return $this->getProperty("CanViewPrivateItems"); }
@return bool
getCanViewPrivateItems
php
vgrem/phpSPO
src/Outlook/Calendars/Calendar.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Calendars/Calendar.php
MIT
public function setCanViewPrivateItems($value) { $this->setProperty("CanViewPrivateItems", $value, true); }
@var bool
setCanViewPrivateItems
php
vgrem/phpSPO
src/Outlook/Calendars/Calendar.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Calendars/Calendar.php
MIT
public function getCanEdit() { return $this->getProperty("CanEdit"); }
@return bool
getCanEdit
php
vgrem/phpSPO
src/Outlook/Calendars/Calendar.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Calendars/Calendar.php
MIT
public function setCanEdit($value) { $this->setProperty("CanEdit", $value, true); }
@var bool
setCanEdit
php
vgrem/phpSPO
src/Outlook/Calendars/Calendar.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Calendars/Calendar.php
MIT
public function getOwner() { return $this->getProperty("Owner", new EmailAddress()); }
@return EmailAddress
getOwner
php
vgrem/phpSPO
src/Outlook/Calendars/Calendar.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Calendars/Calendar.php
MIT
public function setOwner($value) { $this->setProperty("Owner", $value, true); }
@var EmailAddress
setOwner
php
vgrem/phpSPO
src/Outlook/Calendars/Calendar.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Calendars/Calendar.php
MIT
public function getIsTallyingResponses() { return $this->getProperty("IsTallyingResponses"); }
Indicates whether this user calendar supports tracking of meeting responses. Only meeting invites sent from users' primary calendars support tracking of meeting responses. @return bool
getIsTallyingResponses
php
vgrem/phpSPO
src/Outlook/Calendars/Calendar.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Calendars/Calendar.php
MIT
public function setIsTallyingResponses($value) { $this->setProperty("IsTallyingResponses", $value, true); }
Indicates whether this user calendar supports tracking of meeting responses. Only meeting invites sent from users' primary calendars support tracking of meeting responses. @var bool
setIsTallyingResponses
php
vgrem/phpSPO
src/Outlook/Calendars/Calendar.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Calendars/Calendar.php
MIT
public function getIsRemovable() { return $this->getProperty("IsRemovable"); }
Indicates whether this user calendar can be deleted from the user mailbox. @return bool
getIsRemovable
php
vgrem/phpSPO
src/Outlook/Calendars/Calendar.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Calendars/Calendar.php
MIT
public function setIsRemovable($value) { $this->setProperty("IsRemovable", $value, true); }
Indicates whether this user calendar can be deleted from the user mailbox. @var bool
setIsRemovable
php
vgrem/phpSPO
src/Outlook/Calendars/Calendar.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Calendars/Calendar.php
MIT
public function getIsRemovable() { if (!$this->isPropertyAvailable("IsRemovable")) { return null; } return $this->getProperty("IsRemovable"); }
`True` if the user can be removed from the list of sharees or delegates for the specified calendar, `false` otherwise. The "My organization" user determines the permissions other people within your organization have to the given calendar. You cannot remove "My organization" as a sharee to a calendar. @return bool
getIsRemovable
php
vgrem/phpSPO
src/Outlook/Calendars/CalendarPermission.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Calendars/CalendarPermission.php
MIT
public function setIsRemovable($value) { $this->setProperty("IsRemovable", $value, true); }
`True` if the user can be removed from the list of sharees or delegates for the specified calendar, `false` otherwise. The "My organization" user determines the permissions other people within your organization have to the given calendar. You cannot remove "My organization" as a sharee to a calendar. @var bool
setIsRemovable
php
vgrem/phpSPO
src/Outlook/Calendars/CalendarPermission.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Calendars/CalendarPermission.php
MIT
public function getIsInsideOrganization() { if (!$this->isPropertyAvailable("IsInsideOrganization")) { return null; } return $this->getProperty("IsInsideOrganization"); }
True if the user in context (sharee or delegate) is inside the same organization as the calendar owner. @return bool
getIsInsideOrganization
php
vgrem/phpSPO
src/Outlook/Calendars/CalendarPermission.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Calendars/CalendarPermission.php
MIT
public function setIsInsideOrganization($value) { $this->setProperty("IsInsideOrganization", $value, true); }
True if the user in context (sharee or delegate) is inside the same organization as the calendar owner. @var bool
setIsInsideOrganization
php
vgrem/phpSPO
src/Outlook/Calendars/CalendarPermission.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Calendars/CalendarPermission.php
MIT
public function getName() { if (!$this->isPropertyAvailable("Name")) { return null; } return $this->getProperty("Name"); }
@return string
getName
php
vgrem/phpSPO
src/Outlook/Calendars/CalendarGroup.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Calendars/CalendarGroup.php
MIT
public function setName($value) { $this->setProperty("Name", $value, true); }
@var string
setName
php
vgrem/phpSPO
src/Outlook/Calendars/CalendarGroup.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Calendars/CalendarGroup.php
MIT
public function getClassId() { if (!$this->isPropertyAvailable("ClassId")) { return null; } return $this->getProperty("ClassId"); }
@return string
getClassId
php
vgrem/phpSPO
src/Outlook/Calendars/CalendarGroup.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Calendars/CalendarGroup.php
MIT
public function setClassId($value) { $this->setProperty("ClassId", $value, true); }
@var string
setClassId
php
vgrem/phpSPO
src/Outlook/Calendars/CalendarGroup.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Calendars/CalendarGroup.php
MIT
public function getChangeKey() { if (!$this->isPropertyAvailable("ChangeKey")) { return null; } return $this->getProperty("ChangeKey"); }
@return string
getChangeKey
php
vgrem/phpSPO
src/Outlook/Calendars/CalendarGroup.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Calendars/CalendarGroup.php
MIT
public function setChangeKey($value) { $this->setProperty("ChangeKey", $value, true); }
@var string
setChangeKey
php
vgrem/phpSPO
src/Outlook/Calendars/CalendarGroup.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Calendars/CalendarGroup.php
MIT
public function getDisplayName() { if (!$this->isPropertyAvailable("DisplayName")) { return null; } return $this->getProperty("DisplayName"); }
@return string
getDisplayName
php
vgrem/phpSPO
src/Outlook/Messages/MessageRule.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/MessageRule.php
MIT
public function setDisplayName($value) { $this->setProperty("DisplayName", $value, true); }
@var string
setDisplayName
php
vgrem/phpSPO
src/Outlook/Messages/MessageRule.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/MessageRule.php
MIT
public function getSequence() { if (!$this->isPropertyAvailable("Sequence")) { return null; } return $this->getProperty("Sequence"); }
@return integer
getSequence
php
vgrem/phpSPO
src/Outlook/Messages/MessageRule.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/MessageRule.php
MIT
public function setSequence($value) { $this->setProperty("Sequence", $value, true); }
@var integer
setSequence
php
vgrem/phpSPO
src/Outlook/Messages/MessageRule.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/MessageRule.php
MIT
public function getIsEnabled() { if (!$this->isPropertyAvailable("IsEnabled")) { return null; } return $this->getProperty("IsEnabled"); }
@return bool
getIsEnabled
php
vgrem/phpSPO
src/Outlook/Messages/MessageRule.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/MessageRule.php
MIT
public function setIsEnabled($value) { $this->setProperty("IsEnabled", $value, true); }
@var bool
setIsEnabled
php
vgrem/phpSPO
src/Outlook/Messages/MessageRule.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/MessageRule.php
MIT
public function getHasError() { if (!$this->isPropertyAvailable("HasError")) { return null; } return $this->getProperty("HasError"); }
@return bool
getHasError
php
vgrem/phpSPO
src/Outlook/Messages/MessageRule.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/MessageRule.php
MIT
public function setHasError($value) { $this->setProperty("HasError", $value, true); }
@var bool
setHasError
php
vgrem/phpSPO
src/Outlook/Messages/MessageRule.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/MessageRule.php
MIT
public function getIsReadOnly() { if (!$this->isPropertyAvailable("IsReadOnly")) { return null; } return $this->getProperty("IsReadOnly"); }
@return bool
getIsReadOnly
php
vgrem/phpSPO
src/Outlook/Messages/MessageRule.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/MessageRule.php
MIT
public function setIsReadOnly($value) { $this->setProperty("IsReadOnly", $value, true); }
@var bool
setIsReadOnly
php
vgrem/phpSPO
src/Outlook/Messages/MessageRule.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/MessageRule.php
MIT
public function getConditions() { if (!$this->isPropertyAvailable("Conditions")) { return null; } return $this->getProperty("Conditions"); }
@return MessageRulePredicates
getConditions
php
vgrem/phpSPO
src/Outlook/Messages/MessageRule.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/MessageRule.php
MIT
public function setConditions($value) { $this->setProperty("Conditions", $value, true); }
@var MessageRulePredicates
setConditions
php
vgrem/phpSPO
src/Outlook/Messages/MessageRule.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/MessageRule.php
MIT
public function getActions() { if (!$this->isPropertyAvailable("Actions")) { return null; } return $this->getProperty("Actions"); }
@return MessageRuleActions
getActions
php
vgrem/phpSPO
src/Outlook/Messages/MessageRule.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/MessageRule.php
MIT
public function setActions($value) { $this->setProperty("Actions", $value, true); }
@var MessageRuleActions
setActions
php
vgrem/phpSPO
src/Outlook/Messages/MessageRule.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/MessageRule.php
MIT
public function getExceptions() { if (!$this->isPropertyAvailable("Exceptions")) { return null; } return $this->getProperty("Exceptions"); }
@return MessageRulePredicates
getExceptions
php
vgrem/phpSPO
src/Outlook/Messages/MessageRule.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/MessageRule.php
MIT
public function setExceptions($value) { $this->setProperty("Exceptions", $value, true); }
@var MessageRulePredicates
setExceptions
php
vgrem/phpSPO
src/Outlook/Messages/MessageRule.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/MessageRule.php
MIT
public function getName() { return $this->getProperty("Name"); }
The attachment's file name. @return string
getName
php
vgrem/phpSPO
src/Outlook/Messages/Attachment.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/Attachment.php
MIT
public function setName($value) { $this->setProperty("Name", $value, true); }
The attachment's file name. @var string
setName
php
vgrem/phpSPO
src/Outlook/Messages/Attachment.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/Attachment.php
MIT
public function getContentType() { return $this->getProperty("ContentType"); }
The MIME type. @return string
getContentType
php
vgrem/phpSPO
src/Outlook/Messages/Attachment.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/Attachment.php
MIT
public function setContentType($value) { $this->setProperty("ContentType", $value, true); }
The MIME type. @var string
setContentType
php
vgrem/phpSPO
src/Outlook/Messages/Attachment.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/Attachment.php
MIT
public function getSize() { return $this->getProperty("Size"); }
The length of the attachment in bytes. @return integer
getSize
php
vgrem/phpSPO
src/Outlook/Messages/Attachment.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/Attachment.php
MIT
public function setSize($value) { $this->setProperty("Size", $value, true); }
The length of the attachment in bytes. @var integer
setSize
php
vgrem/phpSPO
src/Outlook/Messages/Attachment.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/Attachment.php
MIT
public function getIsInline() { return $this->getProperty("IsInline"); }
`true` if the attachment is an inline attachment; otherwise, `false`. @return bool
getIsInline
php
vgrem/phpSPO
src/Outlook/Messages/Attachment.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/Attachment.php
MIT
public function setIsInline($value) { $this->setProperty("IsInline", $value, true); }
`true` if the attachment is an inline attachment; otherwise, `false`. @var bool
setIsInline
php
vgrem/phpSPO
src/Outlook/Messages/Attachment.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/Attachment.php
MIT
public function getItem() { return $this->getProperty("Item", new OutlookItem($this->getContext(), new ResourcePath("Item", $this->getResourcePath()))); }
The attached message or event. Navigation property. @return OutlookItem
getItem
php
vgrem/phpSPO
src/Outlook/Messages/ItemAttachment.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/ItemAttachment.php
MIT
public function setItem($value) { $this->setProperty("Item", $value); return $this; }
The attached message or event. Navigation property. @param OutlookItem $value @return self
setItem
php
vgrem/phpSPO
src/Outlook/Messages/ItemAttachment.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/ItemAttachment.php
MIT
public function addAttachment($attachmentType) { if($this->getAttachments()->getCount() === 0){ $this->setProperty("Attachments", $this->getAttachments()); } $attachment = new $attachmentType($this->getContext()); $this->getAttachments()->addChild($attachment); return $attachment; }
@param $attachmentType @return ItemAttachment|FileAttachment|ReferenceAttachment
addAttachment
php
vgrem/phpSPO
src/Outlook/Messages/Message.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/Message.php
MIT
public function reply($comment) { $parameter = new ClientValue(); $parameter->setProperty("Comment", $comment); $qry = new InvokePostMethodQuery($this, "Reply", null, null, $parameter); $this->getContext()->addQuery($qry); }
Reply to the sender of a message by specifying a comment and using the Reply method. @param string $comment
reply
php
vgrem/phpSPO
src/Outlook/Messages/Message.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/Message.php
MIT
public function replyAll($comment) { $parameter = new ClientValue(); $parameter->setProperty("Comment", $comment); $qry = new InvokePostMethodQuery($this, "ReplyAll", null, null, $parameter); $this->getContext()->addQuery($qry); }
Reply to the sender of a message by specifying a comment and using the Reply method. @param string $comment
replyAll
php
vgrem/phpSPO
src/Outlook/Messages/Message.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/Message.php
MIT
public function forward($comment, $toRecipients) { $parameter = array(); $parameter["Comment"] = $comment; $parameter["ToRecipients"] = $toRecipients; $qry = new InvokePostMethodQuery($this, "Forward", null, null, $parameter); $this->getContext()->addQuery($qry); return $this; }
Forward a message by using the Forward method and optionally specifying a comment. @param string $comment @param array $toRecipients
forward
php
vgrem/phpSPO
src/Outlook/Messages/Message.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/Message.php
MIT
public function move($destinationId) { $parameter = new ClientValue(); $parameter->setProperty("DestinationId", $destinationId); $qry = new InvokePostMethodQuery($this, "Move", null, null, $parameter); $this->getContext()->addQuery($qry); }
Move a message to a folder. This creates a new copy of the message in the destination folder. @param string $destinationId The destination folder ID, or the Inbox, Drafts, SentItems, or DeletedItems well-known folder name.
move
php
vgrem/phpSPO
src/Outlook/Messages/Message.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/Message.php
MIT
public function read($isRead) { $this->setProperty("IsRead", $isRead); $qry = new UpdateEntityQuery($this); $this->getContext()->addQuery($qry); }
Marks a message as read/unread @param bool $isRead whether or not the message is read
read
php
vgrem/phpSPO
src/Outlook/Messages/Message.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/Message.php
MIT
public function important($importance) { $this->setProperty("Importance", $importance); $qry = new UpdateEntityQuery($this); $this->getContext()->addQuery($qry); }
Marks a message as important/unimportant @param int $importance importance level (1,2,3)
important
php
vgrem/phpSPO
src/Outlook/Messages/Message.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/Message.php
MIT
public function getHasAttachments() { return $this->getProperty("HasAttachments"); }
Indicates whether the message has attachments. This property doesn't include inline attachments, so if a message contains only inline attachments, this property is false. To verify the existence of inline attachments, parse the **body** property to look for a `src` attribute, such as `<IMG src="cid:[email protected]">`. @return bool
getHasAttachments
php
vgrem/phpSPO
src/Outlook/Messages/Message.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/Message.php
MIT
public function setHasAttachments($value) { $this->setProperty("HasAttachments", $value, true); }
Indicates whether the message has attachments. This property doesn't include inline attachments, so if a message contains only inline attachments, this property is false. To verify the existence of inline attachments, parse the **body** property to look for a `src` attribute, such as `<IMG src="cid:[email protected]">`. @var bool
setHasAttachments
php
vgrem/phpSPO
src/Outlook/Messages/Message.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/Message.php
MIT
public function getInternetMessageId() { return $this->getProperty("InternetMessageId"); }
@return string
getInternetMessageId
php
vgrem/phpSPO
src/Outlook/Messages/Message.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/Message.php
MIT
public function setInternetMessageId($value) { $this->setProperty("InternetMessageId", $value, true); }
@var string
setInternetMessageId
php
vgrem/phpSPO
src/Outlook/Messages/Message.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/Message.php
MIT
public function getSubject() { return $this->getProperty("Subject"); }
The subject of the message. @return string
getSubject
php
vgrem/phpSPO
src/Outlook/Messages/Message.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/Message.php
MIT
public function setSubject($value) { $this->setProperty("Subject", $value, true); }
The subject of the message. @var string
setSubject
php
vgrem/phpSPO
src/Outlook/Messages/Message.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/Message.php
MIT
public function getBodyPreview() { return $this->getProperty("BodyPreview"); }
The first 255 characters of the message body. It is in text format. @return string
getBodyPreview
php
vgrem/phpSPO
src/Outlook/Messages/Message.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/Message.php
MIT
public function setBodyPreview($value) { $this->setProperty("BodyPreview", $value, true); }
The first 255 characters of the message body. It is in text format. @var string
setBodyPreview
php
vgrem/phpSPO
src/Outlook/Messages/Message.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/Message.php
MIT
public function getParentFolderId() { return $this->getProperty("ParentFolderId"); }
The unique identifier for the message's parent mailFolder. @return string
getParentFolderId
php
vgrem/phpSPO
src/Outlook/Messages/Message.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/Message.php
MIT
public function setParentFolderId($value) { $this->setProperty("ParentFolderId", $value, true); }
The unique identifier for the message's parent mailFolder. @var string
setParentFolderId
php
vgrem/phpSPO
src/Outlook/Messages/Message.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/Message.php
MIT
public function getSender() { return $this->getProperty("Sender", new Recipient()); }
The account that is actually used to generate the message. In most cases, this value is the same as the **from** property. You can set this property to a different value when sending a message from a [shared mailbox](/exchange/collaboration/shared-mailboxes/shared-mailboxes), [for a shared calendar, or as a delegate](/graph/outlook-share-delegate-calendar.md). In any case, the value must correspond to the actual mailbox used. Find out more about [setting the from and sender properties](/graph/outlook-create-send-messages#setting-the-from-and-sender-properties) of a message. @return Recipient
getSender
php
vgrem/phpSPO
src/Outlook/Messages/Message.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/Message.php
MIT
public function setSender($value) { $this->setProperty("Sender", $value, true); }
The account that is actually used to generate the message. In most cases, this value is the same as the **from** property. You can set this property to a different value when sending a message from a [shared mailbox](/exchange/collaboration/shared-mailboxes/shared-mailboxes), [for a shared calendar, or as a delegate](/graph/outlook-share-delegate-calendar.md). In any case, the value must correspond to the actual mailbox used. Find out more about [setting the from and sender properties](/graph/outlook-create-send-messages#setting-the-from-and-sender-properties) of a message. @var Recipient
setSender
php
vgrem/phpSPO
src/Outlook/Messages/Message.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/Message.php
MIT
public function getFrom() { return $this->getProperty("From", new Recipient()); }
The owner of the mailbox from which the message is sent. In most cases, this value is the same as the **sender** property, except for sharing or delegation scenarios. The value must correspond to the actual mailbox used. Find out more about [setting the from and sender properties](/graph/outlook-create-send-messages#setting-the-from-and-sender-properties) of a message. @return Recipient
getFrom
php
vgrem/phpSPO
src/Outlook/Messages/Message.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/Message.php
MIT
public function setFrom($value) { $this->setProperty("From", $value, true); }
The owner of the mailbox from which the message is sent. In most cases, this value is the same as the **sender** property, except for sharing or delegation scenarios. The value must correspond to the actual mailbox used. Find out more about [setting the from and sender properties](/graph/outlook-create-send-messages#setting-the-from-and-sender-properties) of a message. @var Recipient
setFrom
php
vgrem/phpSPO
src/Outlook/Messages/Message.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/Message.php
MIT
public function getConversationId() { return $this->getProperty("ConversationId"); }
The ID of the conversation the email belongs to. @return string
getConversationId
php
vgrem/phpSPO
src/Outlook/Messages/Message.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/Message.php
MIT
public function setConversationId($value) { $this->setProperty("ConversationId", $value, true); }
The ID of the conversation the email belongs to. @var string
setConversationId
php
vgrem/phpSPO
src/Outlook/Messages/Message.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/Message.php
MIT
public function getConversationIndex() { return $this->getProperty("ConversationIndex"); }
Indicates the position of the message within the conversation. @return string
getConversationIndex
php
vgrem/phpSPO
src/Outlook/Messages/Message.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/Message.php
MIT
public function setConversationIndex($value) { $this->setProperty("ConversationIndex", $value, true); }
Indicates the position of the message within the conversation. @var string
setConversationIndex
php
vgrem/phpSPO
src/Outlook/Messages/Message.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/Message.php
MIT
public function getIsDeliveryReceiptRequested() { return $this->getProperty("IsDeliveryReceiptRequested"); }
Indicates whether a read receipt is requested for the message. @return bool
getIsDeliveryReceiptRequested
php
vgrem/phpSPO
src/Outlook/Messages/Message.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/Message.php
MIT
public function setIsDeliveryReceiptRequested($value) { $this->setProperty("IsDeliveryReceiptRequested", $value, true); }
Indicates whether a read receipt is requested for the message. @var bool
setIsDeliveryReceiptRequested
php
vgrem/phpSPO
src/Outlook/Messages/Message.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/Message.php
MIT
public function getIsReadReceiptRequested() { if (!$this->isPropertyAvailable("IsReadReceiptRequested")) { return null; } return $this->getProperty("IsReadReceiptRequested"); }
Indicates whether a read receipt is requested for the message. @return bool
getIsReadReceiptRequested
php
vgrem/phpSPO
src/Outlook/Messages/Message.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/Message.php
MIT
public function setIsReadReceiptRequested($value) { $this->setProperty("IsReadReceiptRequested", $value, true); }
Indicates whether a read receipt is requested for the message. @var bool
setIsReadReceiptRequested
php
vgrem/phpSPO
src/Outlook/Messages/Message.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/Message.php
MIT
public function getIsRead() { if (!$this->isPropertyAvailable("IsRead")) { return null; } return $this->getProperty("IsRead"); }
Indicates whether the message has been read. @return bool
getIsRead
php
vgrem/phpSPO
src/Outlook/Messages/Message.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/Message.php
MIT
public function setIsRead($value) { $this->setProperty("IsRead", $value, true); return $this; }
Indicates whether the message has been read. @return Message @var bool
setIsRead
php
vgrem/phpSPO
src/Outlook/Messages/Message.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/Message.php
MIT
public function getIsDraft() { if (!$this->isPropertyAvailable("IsDraft")) { return null; } return $this->getProperty("IsDraft"); }
Indicates whether the message is a draft. A message is a draft if it hasn't been sent yet. @return bool
getIsDraft
php
vgrem/phpSPO
src/Outlook/Messages/Message.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/Message.php
MIT
public function setIsDraft($value) { $this->setProperty("IsDraft", $value, true); }
Indicates whether the message is a draft. A message is a draft if it hasn't been sent yet. @var bool
setIsDraft
php
vgrem/phpSPO
src/Outlook/Messages/Message.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/Message.php
MIT
public function getWebLink() { if (!$this->isPropertyAvailable("WebLink")) { return null; } return $this->getProperty("WebLink"); }
The URL to open the message in Outlook Web App.<br><br>You can append an ispopout argument to the end of the URL to change how the message is displayed. If ispopout is not present or if it is set to 1, then the message is shown in a popout window. If ispopout is set to 0, then the browser will show the message in the Outlook Web App review pane.<br><br>The message will open in the browser if you are logged in to your mailbox via Outlook Web App. You will be prompted to login if you are not already logged in with the browser.<br><br>This URL can be accessed from within an iFrame. @return string
getWebLink
php
vgrem/phpSPO
src/Outlook/Messages/Message.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/Message.php
MIT
public function setWebLink($value) { $this->setProperty("WebLink", $value, true); }
The URL to open the message in Outlook Web App.<br><br>You can append an ispopout argument to the end of the URL to change how the message is displayed. If ispopout is not present or if it is set to 1, then the message is shown in a popout window. If ispopout is set to 0, then the browser will show the message in the Outlook Web App review pane.<br><br>The message will open in the browser if you are logged in to your mailbox via Outlook Web App. You will be prompted to login if you are not already logged in with the browser.<br><br>This URL can be accessed from within an iFrame. @var string
setWebLink
php
vgrem/phpSPO
src/Outlook/Messages/Message.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/Message.php
MIT
public function getBody() { return $this->getProperty("Body", new ItemBody()); }
The body of the message. It can be in HTML or text format. Find out about [safe HTML in a message body](/graph/outlook-create-send-messages#reading-messages-with-control-over-the-body-format-returned). @return ItemBody
getBody
php
vgrem/phpSPO
src/Outlook/Messages/Message.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/Message.php
MIT
public function setBody($value) { $this->setProperty("Body", $value, true); }
The body of the message. It can be in HTML or text format. Find out about [safe HTML in a message body](/graph/outlook-create-send-messages#reading-messages-with-control-over-the-body-format-returned). @var ItemBody
setBody
php
vgrem/phpSPO
src/Outlook/Messages/Message.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/Message.php
MIT
public function getUniqueBody() { return $this->getProperty("UniqueBody", new ItemBody()); }
The part of the body of the message that is unique to the current message. **uniqueBody** is not returned by default but can be retrieved for a given message by use of the `?$select=uniqueBody` query. It can be in HTML or text format. @return ItemBody
getUniqueBody
php
vgrem/phpSPO
src/Outlook/Messages/Message.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/Message.php
MIT
public function setUniqueBody($value) { $this->setProperty("UniqueBody", $value, true); }
The part of the body of the message that is unique to the current message. **uniqueBody** is not returned by default but can be retrieved for a given message by use of the `?$select=uniqueBody` query. It can be in HTML or text format. @var ItemBody
setUniqueBody
php
vgrem/phpSPO
src/Outlook/Messages/Message.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/Message.php
MIT
public function getFlag() { return $this->getProperty("Flag"); }
The flag value that indicates the status, start date, due date, or completion date for the message. @return FollowupFlag
getFlag
php
vgrem/phpSPO
src/Outlook/Messages/Message.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/Message.php
MIT
public function setFlag($value) { $this->setProperty("Flag", $value, true); }
The flag value that indicates the status, start date, due date, or completion date for the message. @var FollowupFlag
setFlag
php
vgrem/phpSPO
src/Outlook/Messages/Message.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/Message.php
MIT
public function getToRecipients(){ return $this->getProperty("ToRecipients",new ClientValueCollection(Recipient::class)); }
@return ClientValueCollection
getToRecipients
php
vgrem/phpSPO
src/Outlook/Messages/Message.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/Message.php
MIT
public function getCcRecipients(){ return $this->getProperty("CcRecipients",new ClientValueCollection(Recipient::class)); }
@return ClientValueCollection
getCcRecipients
php
vgrem/phpSPO
src/Outlook/Messages/Message.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/Message.php
MIT
public function setToRecipients($values){ $values = array_map(function ($value) { if ($value instanceof EmailAddress) return new Recipient($value); else return $value; }, $values); return $this->setProperty("ToRecipients", ClientValueCollection::fromArray(Recipient::class,$values)); }
@param EmailAddress[] $values @return $this
setToRecipients
php
vgrem/phpSPO
src/Outlook/Messages/Message.php
https://github.com/vgrem/phpSPO/blob/master/src/Outlook/Messages/Message.php
MIT