Skip to content

Commit

Permalink
Adding overrides for setting and add cc and bcc recipients. Also, hap…
Browse files Browse the repository at this point in the history
…py halloween
  • Loading branch information
Garethp committed Oct 31, 2017
1 parent dfa316b commit 88ba247
Show file tree
Hide file tree
Showing 43 changed files with 116 additions and 41 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.9.5 - 2017-10-31
* Allow strings to be passed in to `MessageType::setBccRecipients` and `MessageType::setCcRecipients` as well as their
functions to add recipients, just like we do for To Recipients

## 0.9.4 - 2017-08-29
* Fixed some bugs with the usage of ensureIsArray

Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
[{"error":false,"statusCode":200,"headers":{"Cache-Control":["private"],"Transfer-Encoding":["chunked"],"Content-Type":["text\/xml; charset=utf-8"],"Server":["Microsoft-IIS\/8.0"],"request-id":["d426cab6-cf1e-40ef-b1cc-4893c7e53de3"],"X-CalculatedBETarget":["DB5PR0401MB1877.eurprd04.prod.outlook.com"],"X-BackEndHttpStatus":["200"],"Set-Cookie":["exchangecookie=61698629a05548adb3736bd3508770e8; expires=Thu, 29-Jun-2017 10:03:09 GMT; path=\/; HttpOnly"],"x-EwsHandler":["CreateItem"],"X-AspNet-Version":["4.0.30319"],"X-DiagInfo":["DB5PR0401MB1877"],"X-BEServer":["DB5PR0401MB1877"],"X-Powered-By":["ASP.NET"],"X-FEServer":["AM4PR0401CA0008"],"Date":["Wed, 29 Jun 2016 10:03:08 GMT"]},"body":"<?xml version=\"1.0\" encoding=\"utf-8\"?><s:Envelope xmlns:s=\"http:\/\/schemas.xmlsoap.org\/soap\/envelope\/\"><s:Header><h:ServerVersionInfo MajorVersion=\"15\" MinorVersion=\"1\" MajorBuildNumber=\"523\" MinorBuildNumber=\"24\" Version=\"V2016_04_13\" xmlns:h=\"http:\/\/schemas.microsoft.com\/exchange\/services\/2006\/types\" xmlns:xsd=\"http:\/\/www.w3.org\/2001\/XMLSchema\" xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\"\/><\/s:Header><s:Body><m:CreateItemResponse xmlns:m=\"http:\/\/schemas.microsoft.com\/exchange\/services\/2006\/messages\" xmlns:xsd=\"http:\/\/www.w3.org\/2001\/XMLSchema\" xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\" xmlns:t=\"http:\/\/schemas.microsoft.com\/exchange\/services\/2006\/types\"><m:ResponseMessages><m:CreateItemResponseMessage ResponseClass=\"Success\"><m:ResponseCode>NoError<\/m:ResponseCode><m:Items><t:CalendarItem><t:ItemId Id=\"AAMkAGRmOGJjZTc0LWQ0ZWUtNDliZC1hYjQ1LTkyODM1NjFhMGIzNwBGAAAAAAAdsEfFUCwSRaf4+E1agVdfBwA4JiVRwOF7SbQybW1zR3q0AAAAAAENAAA4JiVRwOF7SbQybW1zR3q0AABNQUqrAAA=\" ChangeKey=\"DwAAABYAAAA4JiVRwOF7SbQybW1zR3q0AABNSlRU\"\/><\/t:CalendarItem><\/m:Items><\/m:CreateItemResponseMessage><\/m:ResponseMessages><\/m:CreateItemResponse><\/s:Body><\/s:Envelope>"},{"error":false,"statusCode":200,"headers":{"Cache-Control":["private"],"Transfer-Encoding":["chunked"],"Content-Type":["text\/xml; charset=utf-8"],"Server":["Microsoft-IIS\/8.0"],"request-id":["334c23f9-3aca-443d-91c8-b7fbd8b4195d"],"X-CalculatedBETarget":["DB5PR0401MB1877.eurprd04.prod.outlook.com"],"X-BackEndHttpStatus":["200"],"Set-Cookie":["exchangecookie=6a0898ee94b3451ba990d504178034ac; expires=Thu, 29-Jun-2017 10:03:09 GMT; path=\/; HttpOnly"],"x-EwsHandler":["DeleteItem"],"X-AspNet-Version":["4.0.30319"],"X-DiagInfo":["DB5PR0401MB1877"],"X-BEServer":["DB5PR0401MB1877"],"X-Powered-By":["ASP.NET"],"X-FEServer":["AM4PR0401CA0008"],"Date":["Wed, 29 Jun 2016 10:03:08 GMT"]},"body":"<?xml version=\"1.0\" encoding=\"utf-8\"?><s:Envelope xmlns:s=\"http:\/\/schemas.xmlsoap.org\/soap\/envelope\/\"><s:Header><h:ServerVersionInfo MajorVersion=\"15\" MinorVersion=\"1\" MajorBuildNumber=\"523\" MinorBuildNumber=\"24\" Version=\"V2016_04_13\" xmlns:h=\"http:\/\/schemas.microsoft.com\/exchange\/services\/2006\/types\" xmlns:xsd=\"http:\/\/www.w3.org\/2001\/XMLSchema\" xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\"\/><\/s:Header><s:Body><m:DeleteItemResponse xmlns:m=\"http:\/\/schemas.microsoft.com\/exchange\/services\/2006\/messages\" xmlns:xsd=\"http:\/\/www.w3.org\/2001\/XMLSchema\" xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\" xmlns:t=\"http:\/\/schemas.microsoft.com\/exchange\/services\/2006\/types\"><m:ResponseMessages><m:DeleteItemResponseMessage ResponseClass=\"Success\"><m:ResponseCode>NoError<\/m:ResponseCode><\/m:DeleteItemResponseMessage><\/m:ResponseMessages><\/m:DeleteItemResponse><\/s:Body><\/s:Envelope>"}]
[{"error":false,"statusCode":200,"headers":{"Cache-Control":["private"],"Transfer-Encoding":["chunked"],"Content-Type":["text\/xml; charset=utf-8"],"Server":["Microsoft-IIS\/10.0"],"request-id":["b6d6481c-1fa9-4486-9d18-27bb4ec12f65"],"X-CalculatedFETarget":["DM5PR2201CU002.internal.outlook.com"],"X-BackEndHttpStatus":["200","200"],"Set-Cookie":["exchangecookie=15e30c8f88b349da9b1e83c351b4b7b4; expires=Wed, 31-Oct-2018 12:25:46 GMT; path=\/; HttpOnly"],"X-FEProxyInfo":["DM5PR2201CA0033.NAMPRD22.PROD.OUTLOOK.COM"],"X-CalculatedBETarget":["DM5PR1701MB1723.namprd17.prod.outlook.com"],"x-EwsHandler":["CreateItem"],"X-AspNet-Version":["4.0.30319"],"X-DiagInfo":["DM5PR1701MB1723"],"X-BEServer":["DM5PR1701MB1723"],"X-FEServer":["DM5PR2201CA0033","HE1PR0701CA0069"],"X-Powered-By":["ASP.NET"],"Date":["Tue, 31 Oct 2017 12:25:45 GMT"]},"body":"<?xml version=\"1.0\" encoding=\"utf-8\"?><s:Envelope xmlns:s=\"http:\/\/schemas.xmlsoap.org\/soap\/envelope\/\"><s:Header><h:ServerVersionInfo MajorVersion=\"15\" MinorVersion=\"20\" MajorBuildNumber=\"178\" MinorBuildNumber=\"14\" Version=\"V2017_07_11\" xmlns:h=\"http:\/\/schemas.microsoft.com\/exchange\/services\/2006\/types\" xmlns:xsd=\"http:\/\/www.w3.org\/2001\/XMLSchema\" xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\"\/><\/s:Header><s:Body><m:CreateItemResponse xmlns:m=\"http:\/\/schemas.microsoft.com\/exchange\/services\/2006\/messages\" xmlns:xsd=\"http:\/\/www.w3.org\/2001\/XMLSchema\" xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\" xmlns:t=\"http:\/\/schemas.microsoft.com\/exchange\/services\/2006\/types\"><m:ResponseMessages><m:CreateItemResponseMessage ResponseClass=\"Success\"><m:ResponseCode>NoError<\/m:ResponseCode><m:Items><t:CalendarItem><t:ItemId Id=\"AAMkADE3NTZhYzA4LTZmODAtNGNjNy04NGU3LTYxYjkxYTU4YTRmMABGAAAAAABkj\/k1VPf9SpGo4BGTcGawBwBu82DT7AULT56Wlc2HZmBAAAAAAAENAABu82DT7AULT56Wlc2HZmBAAADnzHBVAAA=\" ChangeKey=\"DwAAABYAAABu82DT7AULT56Wlc2HZmBAAADn9\/lB\"\/><\/t:CalendarItem><\/m:Items><\/m:CreateItemResponseMessage><\/m:ResponseMessages><\/m:CreateItemResponse><\/s:Body><\/s:Envelope>"},{"error":false,"statusCode":200,"headers":{"Cache-Control":["private"],"Transfer-Encoding":["chunked"],"Content-Type":["text\/xml; charset=utf-8"],"Server":["Microsoft-IIS\/10.0"],"request-id":["45b5cd7b-6d44-438a-b073-80a6ec8f6d7e"],"X-CalculatedFETarget":["DM5PR2201CU002.internal.outlook.com"],"X-BackEndHttpStatus":["200","200"],"Set-Cookie":["exchangecookie=086abe378df24d238e5aa035b2e91c57; expires=Wed, 31-Oct-2018 12:25:46 GMT; path=\/; HttpOnly"],"X-FEProxyInfo":["DM5PR2201CA0033.NAMPRD22.PROD.OUTLOOK.COM"],"X-CalculatedBETarget":["DM5PR1701MB1723.namprd17.prod.outlook.com"],"x-EwsHandler":["DeleteItem"],"X-AspNet-Version":["4.0.30319"],"X-DiagInfo":["DM5PR1701MB1723"],"X-BEServer":["DM5PR1701MB1723"],"X-FEServer":["DM5PR2201CA0033","HE1PR0701CA0069"],"X-Powered-By":["ASP.NET"],"Date":["Tue, 31 Oct 2017 12:25:46 GMT"]},"body":"<?xml version=\"1.0\" encoding=\"utf-8\"?><s:Envelope xmlns:s=\"http:\/\/schemas.xmlsoap.org\/soap\/envelope\/\"><s:Header><h:ServerVersionInfo MajorVersion=\"15\" MinorVersion=\"20\" MajorBuildNumber=\"178\" MinorBuildNumber=\"14\" Version=\"V2017_07_11\" xmlns:h=\"http:\/\/schemas.microsoft.com\/exchange\/services\/2006\/types\" xmlns:xsd=\"http:\/\/www.w3.org\/2001\/XMLSchema\" xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\"\/><\/s:Header><s:Body><m:DeleteItemResponse xmlns:m=\"http:\/\/schemas.microsoft.com\/exchange\/services\/2006\/messages\" xmlns:xsd=\"http:\/\/www.w3.org\/2001\/XMLSchema\" xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\" xmlns:t=\"http:\/\/schemas.microsoft.com\/exchange\/services\/2006\/types\"><m:ResponseMessages><m:DeleteItemResponseMessage ResponseClass=\"Success\"><m:ResponseCode>NoError<\/m:ResponseCode><\/m:DeleteItemResponseMessage><\/m:ResponseMessages><\/m:DeleteItemResponse><\/s:Body><\/s:Envelope>"}]

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
[{"error":false,"statusCode":200,"headers":{"Cache-Control":["private"],"Transfer-Encoding":["chunked"],"Content-Type":["text\/xml; charset=utf-8"],"Server":["Microsoft-IIS\/8.0"],"request-id":["078c7042-d0ca-4cf5-a214-29f3633191b0"],"X-CalculatedBETarget":["DB5PR0401MB1877.eurprd04.prod.outlook.com"],"X-BackEndHttpStatus":["200"],"Set-Cookie":["exchangecookie=1977ed9137d74da6be67810768d57911; expires=Thu, 29-Jun-2017 10:03:09 GMT; path=\/; HttpOnly"],"x-EwsHandler":["CreateItem"],"X-AspNet-Version":["4.0.30319"],"X-DiagInfo":["DB5PR0401MB1877"],"X-BEServer":["DB5PR0401MB1877"],"X-Powered-By":["ASP.NET"],"X-FEServer":["AM4PR0401CA0042"],"Date":["Wed, 29 Jun 2016 10:03:08 GMT"]},"body":"<?xml version=\"1.0\" encoding=\"utf-8\"?><s:Envelope xmlns:s=\"http:\/\/schemas.xmlsoap.org\/soap\/envelope\/\"><s:Header><h:ServerVersionInfo MajorVersion=\"15\" MinorVersion=\"1\" MajorBuildNumber=\"523\" MinorBuildNumber=\"24\" Version=\"V2016_04_13\" xmlns:h=\"http:\/\/schemas.microsoft.com\/exchange\/services\/2006\/types\" xmlns:xsd=\"http:\/\/www.w3.org\/2001\/XMLSchema\" xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\"\/><\/s:Header><s:Body><m:CreateItemResponse xmlns:m=\"http:\/\/schemas.microsoft.com\/exchange\/services\/2006\/messages\" xmlns:xsd=\"http:\/\/www.w3.org\/2001\/XMLSchema\" xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\" xmlns:t=\"http:\/\/schemas.microsoft.com\/exchange\/services\/2006\/types\"><m:ResponseMessages><m:CreateItemResponseMessage ResponseClass=\"Success\"><m:ResponseCode>NoError<\/m:ResponseCode><m:Items><t:CalendarItem><t:ItemId Id=\"AAMkAGRmOGJjZTc0LWQ0ZWUtNDliZC1hYjQ1LTkyODM1NjFhMGIzNwBGAAAAAAAdsEfFUCwSRaf4+E1agVdfBwA4JiVRwOF7SbQybW1zR3q0AAAAAAENAAA4JiVRwOF7SbQybW1zR3q0AABNQUqsAAA=\" ChangeKey=\"DwAAABYAAAA4JiVRwOF7SbQybW1zR3q0AABNSlRW\"\/><\/t:CalendarItem><\/m:Items><\/m:CreateItemResponseMessage><\/m:ResponseMessages><\/m:CreateItemResponse><\/s:Body><\/s:Envelope>"},{"error":false,"statusCode":200,"headers":{"Cache-Control":["private"],"Transfer-Encoding":["chunked"],"Content-Type":["text\/xml; charset=utf-8"],"Server":["Microsoft-IIS\/8.0"],"request-id":["d453ac6c-ecde-48f2-a244-5ea68d2cdee3"],"X-CalculatedBETarget":["DB5PR0401MB1877.eurprd04.prod.outlook.com"],"X-BackEndHttpStatus":["200"],"Set-Cookie":["exchangecookie=7e90b267b3a9446b80e68c02586e9223; expires=Thu, 29-Jun-2017 10:03:09 GMT; path=\/; HttpOnly"],"x-EwsHandler":["DeleteItem"],"X-AspNet-Version":["4.0.30319"],"X-DiagInfo":["DB5PR0401MB1877"],"X-BEServer":["DB5PR0401MB1877"],"X-Powered-By":["ASP.NET"],"X-FEServer":["AM4PR0401CA0042"],"Date":["Wed, 29 Jun 2016 10:03:08 GMT"]},"body":"<?xml version=\"1.0\" encoding=\"utf-8\"?><s:Envelope xmlns:s=\"http:\/\/schemas.xmlsoap.org\/soap\/envelope\/\"><s:Header><h:ServerVersionInfo MajorVersion=\"15\" MinorVersion=\"1\" MajorBuildNumber=\"523\" MinorBuildNumber=\"24\" Version=\"V2016_04_13\" xmlns:h=\"http:\/\/schemas.microsoft.com\/exchange\/services\/2006\/types\" xmlns:xsd=\"http:\/\/www.w3.org\/2001\/XMLSchema\" xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\"\/><\/s:Header><s:Body><m:DeleteItemResponse xmlns:m=\"http:\/\/schemas.microsoft.com\/exchange\/services\/2006\/messages\" xmlns:xsd=\"http:\/\/www.w3.org\/2001\/XMLSchema\" xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\" xmlns:t=\"http:\/\/schemas.microsoft.com\/exchange\/services\/2006\/types\"><m:ResponseMessages><m:DeleteItemResponseMessage ResponseClass=\"Success\"><m:ResponseCode>NoError<\/m:ResponseCode><\/m:DeleteItemResponseMessage><\/m:ResponseMessages><\/m:DeleteItemResponse><\/s:Body><\/s:Envelope>"}]
[{"error":false,"statusCode":200,"headers":{"Cache-Control":["private"],"Transfer-Encoding":["chunked"],"Content-Type":["text\/xml; charset=utf-8"],"Server":["Microsoft-IIS\/10.0"],"request-id":["18c4cd6d-41bc-449d-be6c-3728277e844e"],"X-CalculatedFETarget":["DM5PR2201CU002.internal.outlook.com"],"X-BackEndHttpStatus":["200","200"],"Set-Cookie":["exchangecookie=610c5890a99e4b65a537d8d98407dabd; expires=Wed, 31-Oct-2018 12:25:47 GMT; path=\/; HttpOnly"],"X-FEProxyInfo":["DM5PR2201CA0052.NAMPRD22.PROD.OUTLOOK.COM"],"X-CalculatedBETarget":["DM5PR1701MB1723.namprd17.prod.outlook.com"],"x-EwsHandler":["CreateItem"],"X-AspNet-Version":["4.0.30319"],"X-DiagInfo":["DM5PR1701MB1723"],"X-BEServer":["DM5PR1701MB1723"],"X-FEServer":["DM5PR2201CA0052","HE1PR0701CA0067"],"X-Powered-By":["ASP.NET"],"Date":["Tue, 31 Oct 2017 12:25:47 GMT"]},"body":"<?xml version=\"1.0\" encoding=\"utf-8\"?><s:Envelope xmlns:s=\"http:\/\/schemas.xmlsoap.org\/soap\/envelope\/\"><s:Header><h:ServerVersionInfo MajorVersion=\"15\" MinorVersion=\"20\" MajorBuildNumber=\"178\" MinorBuildNumber=\"14\" Version=\"V2017_07_11\" xmlns:h=\"http:\/\/schemas.microsoft.com\/exchange\/services\/2006\/types\" xmlns:xsd=\"http:\/\/www.w3.org\/2001\/XMLSchema\" xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\"\/><\/s:Header><s:Body><m:CreateItemResponse xmlns:m=\"http:\/\/schemas.microsoft.com\/exchange\/services\/2006\/messages\" xmlns:xsd=\"http:\/\/www.w3.org\/2001\/XMLSchema\" xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\" xmlns:t=\"http:\/\/schemas.microsoft.com\/exchange\/services\/2006\/types\"><m:ResponseMessages><m:CreateItemResponseMessage ResponseClass=\"Success\"><m:ResponseCode>NoError<\/m:ResponseCode><m:Items><t:CalendarItem><t:ItemId Id=\"AAMkADE3NTZhYzA4LTZmODAtNGNjNy04NGU3LTYxYjkxYTU4YTRmMABGAAAAAABkj\/k1VPf9SpGo4BGTcGawBwBu82DT7AULT56Wlc2HZmBAAAAAAAENAABu82DT7AULT56Wlc2HZmBAAADnzHBWAAA=\" ChangeKey=\"DwAAABYAAABu82DT7AULT56Wlc2HZmBAAADn9\/lE\"\/><\/t:CalendarItem><\/m:Items><\/m:CreateItemResponseMessage><\/m:ResponseMessages><\/m:CreateItemResponse><\/s:Body><\/s:Envelope>"},{"error":false,"statusCode":200,"headers":{"Cache-Control":["private"],"Transfer-Encoding":["chunked"],"Content-Type":["text\/xml; charset=utf-8"],"Server":["Microsoft-IIS\/10.0"],"request-id":["ae12c090-3d95-4573-aa85-0a31eb2e060b"],"X-CalculatedFETarget":["DM5PR2201CU002.internal.outlook.com"],"X-BackEndHttpStatus":["200","200"],"Set-Cookie":["exchangecookie=016a0c02e38940718bc2a75f0476928b; expires=Wed, 31-Oct-2018 12:25:48 GMT; path=\/; HttpOnly"],"X-FEProxyInfo":["DM5PR2201CA0052.NAMPRD22.PROD.OUTLOOK.COM"],"X-CalculatedBETarget":["DM5PR1701MB1723.namprd17.prod.outlook.com"],"x-EwsHandler":["DeleteItem"],"X-AspNet-Version":["4.0.30319"],"X-DiagInfo":["DM5PR1701MB1723"],"X-BEServer":["DM5PR1701MB1723"],"X-FEServer":["DM5PR2201CA0052","HE1PR0701CA0067"],"X-Powered-By":["ASP.NET"],"Date":["Tue, 31 Oct 2017 12:25:47 GMT"]},"body":"<?xml version=\"1.0\" encoding=\"utf-8\"?><s:Envelope xmlns:s=\"http:\/\/schemas.xmlsoap.org\/soap\/envelope\/\"><s:Header><h:ServerVersionInfo MajorVersion=\"15\" MinorVersion=\"20\" MajorBuildNumber=\"178\" MinorBuildNumber=\"14\" Version=\"V2017_07_11\" xmlns:h=\"http:\/\/schemas.microsoft.com\/exchange\/services\/2006\/types\" xmlns:xsd=\"http:\/\/www.w3.org\/2001\/XMLSchema\" xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\"\/><\/s:Header><s:Body><m:DeleteItemResponse xmlns:m=\"http:\/\/schemas.microsoft.com\/exchange\/services\/2006\/messages\" xmlns:xsd=\"http:\/\/www.w3.org\/2001\/XMLSchema\" xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\" xmlns:t=\"http:\/\/schemas.microsoft.com\/exchange\/services\/2006\/types\"><m:ResponseMessages><m:DeleteItemResponseMessage ResponseClass=\"Success\"><m:ResponseCode>NoError<\/m:ResponseCode><\/m:DeleteItemResponseMessage><\/m:ResponseMessages><\/m:DeleteItemResponse><\/s:Body><\/s:Envelope>"}]
Loading

0 comments on commit 88ba247

Please sign in to comment.