forked from luyadev/luya
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed deprecated function call in FormBlock and added some doc info t…
…o components/Mail. This fixes luyadev#826
- Loading branch information
1 parent
3eb0f9a
commit c6ff3c2
Showing
3 changed files
with
30 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,22 +31,49 @@ class Mail extends \yii\base\Component | |
{ | ||
private $_mailer = null; | ||
|
||
/** | ||
* @var string sender email address | ||
*/ | ||
public $from = '[email protected]'; | ||
|
||
/** | ||
* @var string sender name | ||
*/ | ||
public $fromName = '[email protected]'; | ||
|
||
/** | ||
* @var string email server host address | ||
*/ | ||
public $host = 'mail.zephir.ch'; | ||
|
||
/** | ||
* @var string email server username | ||
*/ | ||
public $username = '[email protected]'; | ||
|
||
/** | ||
* @var string email server password | ||
*/ | ||
public $password = null; // insert password | ||
|
||
/** | ||
* @var bool disable if you want to use old PHP sendmail | ||
*/ | ||
public $isSMTP = true; | ||
|
||
/** | ||
* @var string alternate text message if email client doesn't support HTML | ||
*/ | ||
public $altBody = 'Please use a HTML compatible E-Mail-Client to read this E-Mail.'; | ||
|
||
/** | ||
* @var int email server port | ||
*/ | ||
public $port = 587; | ||
|
||
/** | ||
* @var bool enable debug output mode 'Data and commands' | ||
*/ | ||
public $debug = false; | ||
|
||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters