Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
6a738a1e
Commit
6a738a1e
authored
Jan 06, 2015
by
Andrew Potter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update tutorial-mailing.md
parent
b4ba430a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
tutorial-mailing.md
docs/guide/tutorial-mailing.md
+2
-2
No files found.
docs/guide/tutorial-mailing.md
View file @
6a738a1e
...
@@ -32,7 +32,7 @@ return [
...
@@ -32,7 +32,7 @@ return [
Basic usage
Basic usage
-----------
-----------
Once 'mailer' component is configured, you can use the following code to send an email message:
Once
the
'mailer' component is configured, you can use the following code to send an email message:
```
php
```
php
Yii
::
$app
->
mailer
->
compose
()
Yii
::
$app
->
mailer
->
compose
()
...
@@ -44,7 +44,7 @@ Yii::$app->mailer->compose()
...
@@ -44,7 +44,7 @@ Yii::$app->mailer->compose()
->
send
();
->
send
();
```
```
In
above exampl
e method
`compose()`
creates an instance of the mail message, which then is populated and sent.
In
the above example th
e method
`compose()`
creates an instance of the mail message, which then is populated and sent.
You may put more complex logic in this process if needed:
You may put more complex logic in this process if needed:
```
php
```
php
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment