Skip to content

fruitcake/php-inbound-mail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP Inbound Mail

Parsers and utilities to process inbound mail

Providers

  • IMAP / RAW emails
  • Gmail (Google API)
  • Postmark Inbound json
  • Sendgrid Inbound Parse json

Postmark/Sendgrid/Gmail also support RAW MIME parts that can be used

Install

composer require fruitcake/inbound-mail:^0.1@dev

Usage

$inboundMail = \Fruitcake\InboundMail\InboundMail::parse($message);

$html =  $inboundEmail->getHtml();
$text = $inboundEmail->getText();
$visibleText =  $inboundEmail->getVisibleText();

$reply = $inboundEmail->createReply();

About

PHP Inhound Mail parser for different clients (Sendgrid, Gmail, Postmark etc)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages