프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$lastError | mixed | The last error that occurred when communicating with the Exchange server. |
메소드 | 설명 | |
---|---|---|
create_event ( string $subject, string $start, string $end, string $location, $isallday = false ) : boolean | Create an event in the user's calendar. Does not currently support sending invitations to other users. Times must be passed as ISO date format. | |
delete_message ( ItemId $ItemId, $deletetype = "HardDelete" ) : boolean | Deletes a message in the mailbox of the current user. | |
getFolder ( $regex, $parent = 'inbox' ) | ||
get_events ( $start, $end ) | ||
get_messages ( $limit = 50, $onlyunread = false, $folder = "inbox", $folderIdIsDistinguishedFolderId = true ) : array | Get the messages for a mailbox. | |
get_subfolders ( string $ParentFolderId = "inbox", boolean $Distinguished = TRUE ) : object | Get all subfolders of a single folder. | |
init ( string $user, string $pass, $delegate = NULL, $wsdl = "Services.wsdl" ) : void | Initialize the class. This could be better as a __construct, but for CodeIgniter compatibility we keep it separate. | |
move_message ( ItemId $ItemId, $FolderId ) : ItemID | Moves a message to a different folder. | |
send_message ( mixed $to, string $subject, string $content, $bodytype = "Text", $saveinsent = true, $markasread = true, $attachments = false, mixed $cc = false, mixed $bcc = false ) : boolean | Send a message through the Exchange server as the currently logged-in user. |
메소드 | 설명 | |
---|---|---|
get_attachment ( $AttachmentID ) | ||
setup ( ) : void | Sets up strream handling. Internally used. | |
teardown ( ) : void | Tears down stream handling. Internally used. |
public create_event ( string $subject, string $start, string $end, string $location, $isallday = false ) : boolean | ||
$subject | string | |
$start | string | (start time of event in ISO date format e.g. "2010-09-21T16:00:00Z" |
$end | string | (ISO date format) |
$location | string | |
리턴 | boolean | $success (true if the message was created, false if there was an error) |
public delete_message ( ItemId $ItemId, $deletetype = "HardDelete" ) : boolean | ||
$ItemId | ItemId | (such as one returned by get_messages) |
리턴 | boolean | $success (true: message was deleted, false: message failed to delete) |
public get_messages ( $limit = 50, $onlyunread = false, $folder = "inbox", $folderIdIsDistinguishedFolderId = true ) : array | ||
리턴 | array | $messages (an array of objects representing the messages) |
public get_subfolders ( string $ParentFolderId = "inbox", boolean $Distinguished = TRUE ) : object | ||
$ParentFolderId | string | string representing the folder id of the parent folder, defaults to "inbox" |
$Distinguished | boolean | Defines whether or not its a distinguished folder name or not |
리턴 | object | $response the response containing all the folders |
public move_message ( ItemId $ItemId, $FolderId ) : ItemID | ||
$ItemId | ItemId | (such as one returned by get_messages, has Id and ChangeKey) |
리턴 | ItemID | $ItemId The new ItemId (such as one returned by get_messages, has Id and ChangeKey) |
public send_message ( mixed $to, string $subject, string $content, $bodytype = "Text", $saveinsent = true, $markasread = true, $attachments = false, mixed $cc = false, mixed $bcc = false ) : boolean | ||
$to | mixed | (the email address or an array of email address to send the message to) |
$subject | string | |
$content | string | |
$cc | mixed | (the email address or an array of email address of recipients to receive a carbon copy (cc) of the e-mail message) |
$bcc | mixed | (the email address or an array of email address of recipients to receive a blind carbon copy (Bcc) of the e-mail message) |
리턴 | boolean | $success. (True if the message was sent, false if there was an error). |
public mixed $lastError | ||
리턴 | mixed |