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
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Rotua Panjaitan
yii2
Commits
6e209cc7
Commit
6e209cc7
authored
Jan 06, 2015
by
Carsten Brandt
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6770 from apyii/patch-1
Update tutorial-mailing.md
parents
b4ba430a
6a738a1e
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 @
6e209cc7
...
...
@@ -32,7 +32,7 @@ return [
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
Yii
::
$app
->
mailer
->
compose
()
...
...
@@ -44,7 +44,7 @@ Yii::$app->mailer->compose()
->
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:
```
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