PHP code example of janiskelemen / postmark-inbound-php
1. Go to this page and download the library: Download janiskelemen/postmark-inbound-php library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
janiskelemen / postmark-inbound-php example snippets
php
$inbound = new \Postmark\Inbound(file_get_contents('php://input'));
php
stmark\Autoloader::register();
// this file should be the target of the callback you set in your postmark account
$inbound = new \Postmark\Inbound(file_get_contents('php://input'));