Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (14 sloc) 416 Bytes
Controller called when Mailgun posts data from inbound mail
- Places data into inbox table in serialized form
public function actionInbound()
$mg = new Mailgun;
// verify post made by Mailgun
if ($mg->verifyWebHook($_POST['timestamp'],$_POST['token'],$_POST['signature'])) {
$bundle = serialize($_POST);
$inboxItem = new Inbox;
You can’t perform that action at this time.