![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/store.cartinsight.co/wp-content/plugins/disable-emails/includes/ |
<?php namespace webaware\disable_emails; if (!defined('ABSPATH')) { exit; } /** * manage email addresses with potentially a name and address part */ class EmailAddress { public $name; public $address; public function __construct($email_address) { if (preg_match('/(.*)<(.+)>/', $email_address, $matches) && count($matches) === 3) { $this->name = rtrim($matches[1], ' '); $this->address = $matches[2]; } else { $this->name = ''; $this->address = $email_address; } } }