Skip to content

Commit

Permalink
Merge pull request #42 from infiniziconsulting/patch-1
Browse files Browse the repository at this point in the history
Update HandleSesWebhook.php
  • Loading branch information
JonoB authored Jul 14, 2020
2 parents ad75ebd + d87c876 commit b2f2686
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Listeners/Webhooks/HandleSesWebhook.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@ private function processEmailEvent(array $event): void
if (!$eventType || !$messageId) {
return;
}


$eventType = strtolower($eventType);

// https://docs.aws.amazon.com/ses/latest/DeveloperGuide/event-publishing-retrieving-sns-examples.html#event-publishing-retrieving-sns-open
// Bounce, Complaint, Message, Send Email, Reject Event, Open Event, Click Event
switch ($eventType) {
Expand Down

0 comments on commit b2f2686

Please # to comment.