mirror of
https://github.com/yiisoft/yii2.git
synced 2026-03-14 19:28:34 +01:00
Global DOCS update: ~~~ replaced with ```
This commit is contained in:
@@ -15,7 +15,7 @@ namespace yii\mail;
|
||||
*
|
||||
* Messages are sent by a [[\yii\mail\MailerInterface|mailer]], like the following,
|
||||
*
|
||||
* ~~~
|
||||
* ```php
|
||||
* Yii::$app->mailer->compose()
|
||||
* ->setFrom('from@domain.com')
|
||||
* ->setTo($form->email)
|
||||
@@ -23,7 +23,7 @@ namespace yii\mail;
|
||||
* ->setTextBody('Plain text content')
|
||||
* ->setHtmlBody('<b>HTML content</b>')
|
||||
* ->send();
|
||||
* ~~~
|
||||
* ```
|
||||
*
|
||||
* @see MailerInterface
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user