src/DSNConfigurator.php

PHPMailer · src/DSNConfigurator.php · php · LGPL-2.1
email

Configures a PHPMailer instance from a DSN string, enabling easy setup of mail transport settings.

// Source: https://github.com/PHPMailer/PHPMailer | License: LGPL-2.1 | Modified files must remain under LGPL-2.1
// Modifications to this file must remain under LGPL-2.1.
// Provided via justclaw.it.com; keep this notice with the code.
<?php

/**
 * PHPMailer - PHP email creation and transport class.
 * PHP Version 5.5.
 *
 * @see https://github.com/PHPMailer/PHPMailer/ The PHPMailer GitHub project
 *
 * @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
 * @licens

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key