mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-18 15:31:06 +08:00
Email components hierarchy created.
SwiftMailer applied as email solution.
This commit is contained in:
9
framework/yii/email/swift/autoload.php
Normal file
9
framework/yii/email/swift/autoload.php
Normal file
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
/**
|
||||
* This file attempts to register autoloader for the Swift library, assuming
|
||||
* it is located under the 'vendor' path.
|
||||
*
|
||||
* @var $this \yii\email\swift\Mailer
|
||||
*/
|
||||
$swiftMailerLibPath = Yii::getAlias('@vendor/swiftmailer/swiftmailer/lib');
|
||||
require_once $swiftMailerLibPath . '/swift_required.php';
|
||||
Reference in New Issue
Block a user