PHPMailer - PHP email creation and transport class. PHP Version 5.5.
Author: | Marcus Bointon (Synchro/coolbru) <phpmailer@synchromedia.co.uk> |
Author: | Jim Jagielski (jimjag) <jimjag@gmail.com> |
Author: | Andy Prevost (codeworxtech) <codeworxtech@users.sourceforge.net> |
Author: | Brent R. Matzelle (original founder) |
Copyright: | 2012 - 2023 Marcus Bointon |
Copyright: | 2010 - 2012 Jim Jagielski |
Copyright: | 2004 - 2009 Andy Prevost |
License: | http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License |
File Size: | 247 lines (7 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
DSNConfigurator:: (7 methods):
mailer()
configure()
parseDSN()
applyConfig()
configureSMTP()
configureOptions()
parseUrl()
Class: DSNConfigurator - X-Ref
Configure PHPMailer with DSN string.mailer($dsn, $exceptions = null) X-Ref |
Create new PHPMailer instance configured by DSN. param: string $dsn DSN param: bool $exceptions Should we throw external exceptions? return: PHPMailer |
configure(PHPMailer $mailer, $dsn) X-Ref |
Configure PHPMailer instance with DSN string. param: PHPMailer $mailer PHPMailer instance param: string $dsn DSN return: PHPMailer |
parseDSN($dsn) X-Ref |
Parse DSN string. param: string $dsn DSN return: array Configuration |
applyConfig(PHPMailer $mailer, $config) X-Ref |
Apply configuration to mailer. param: PHPMailer $mailer PHPMailer instance param: array $config Configuration |
configureSMTP($mailer, $config) X-Ref |
Configure SMTP. param: PHPMailer $mailer PHPMailer instance param: array $config Configuration |
configureOptions(PHPMailer $mailer, $options) X-Ref |
Configure options. param: PHPMailer $mailer PHPMailer instance param: array $options Options |
parseUrl($url) X-Ref |
Parse a URL. Wrapper for the built-in parse_url function to work around a bug in PHP 5.5. param: string $url URL return: array|false |