Created
November 6, 2013 12:02
-
-
Save EsendexDev/7335015 to your computer and use it in GitHub Desktop.
Getting message body texts using the Esendex PHP SDK - Full details here: http://developers.esendex.com/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $messageId = "unique-id-of-message"; | |
| $authentication = new \Esendex\Authentication\LoginAuthentication( | |
| "EX000000", // Your Esendex Account Reference | |
| "[email protected]", // Your login email address | |
| "password" // Your password | |
| ); | |
| $service = new \Esendex\MessageBodyService($authentication); | |
| $result = $service->getMessageBodyById($messageId); | |
| print $result; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment