Home > Download >  Library download > Mail class library

  • It is normal to add an email address to the database. The email address is a special form. We often need to verify it before adding it. When we need to verify whether the email address is valid, this library just comes into play.

    Mail class library57282018-01-15
  • <?php namespace Stampie\Adapter; use Buzz\Browser; use Buzz\Message\Form\FormUpload; use Buzz\Message\RequestInterface; class Buzz implements AdapterInterface {     /**      * @var Browser $browser      */     protected $browser;     /**      * @param Browser $browser      */     public function __construct(Browser $browser)     {         $this->browser = $browser;     }     /**      * @return Browser      */     public function getBrowser()     {         return $this->browser;     }This is a PHP library for email services. Friends who need it can download it and use it.

    Mail class library63662018-01-04
  • <?php /**  * Simple autoloader that follow the PHP Standards Recommendation #0 (PSR-0)  * @see https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md for more informations.  *  * Code inspired from the SplClassLoader RFC  * @see https://wiki.php.net/rfc/splclassloader#example_implementation  */ spl_autoload_register(function ($className) {     $className = ltrim($className, '\');     $fileName = '';     if ($lastNsPos = strripos($className, '\')) {         $namespace = substr($className, 0, $lastNsPos);         $className = substr($className, $lastNsPos + 1);         $fileName = str_replace('\', DIRECTORY_SEPARATOR, $namespace) . DIRECTORY_SEPARATOR;     }     $fileName = __DIR__ . DIRECTORY_SEPARATOR . $fileName . $className . '.php';     if (file_exists($fileName)) {         require $fileName;         return true;     }     return false; });This is a PHP email reply parser library, friends who need it can download it and use it.

    Mail class library53382018-01-04
  • <?php class HasMxTest extends PHPUnit_Framework_TestCase {     /**      * Set up for tests in this file.      *      * @access private      */     private function setupTest()     {         $this->validator = new \EmailValidator\Validator();     }     /**      * Test hasMx      *      * @cover \EmailValidator\Validator::hasMx      */     public function testHasMx()     {         $this->setupTest();         // Not an email         $this->assertNull(             $this->validator->hasMx('example.com')         );         // No Records         $this->assertFalse(             $this->validator->hasMx('example@example.com')         );         // Records         $this->assertTrue(             $this->validator->hasMx('example@google.com')         );         $this->assertTrue(             $this->validator->hasMx('example@yahoo.com')         );     } }This is a PHP email verification library, friends who need it can download and use

    Mail class library55882018-01-04
  • An inline CSS library in email templates

    Mail class library47372017-12-05
  • An email reply parser library

    Mail class library43652017-12-05
  • A compact email verification library

    Mail class library48472017-12-05
  • Useful email library

    Mail class library48622017-12-05
  • Libraries for email services, such as SendGrid, PostMark, MailGun and Mandrill

    Mail class library60242017-12-05
  • PHP implementation of email class examples with attachments

    Mail class library53172017-11-24
  • PHP receives mail receiveMail class

    Mail class library93482017-11-13
  • PHP email sending class supports sending plain text emails and emails in HTML format, with multiple recipients, multiple CCs, multiple secret CCs, and emails with attachments.

    Mail class library66722017-11-02