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
b3758765
Commit
b3758765
authored
Dec 03, 2013
by
Paul Kofmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Broken example of mail component usage
parent
3db7a075
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
README.md
extensions/swiftmailer/README.md
+3
-3
No files found.
extensions/swiftmailer/README.md
View file @
b3758765
...
...
@@ -20,9 +20,9 @@ You can then send an email as follows:
```
php
Yii
::
$app
->
mail
->
compose
(
'contact/html'
)
->
f
rom
(
'from@domain.com'
)
->
t
o
(
$form
->
email
)
->
subject
(
$form
->
subject
)
->
setF
rom
(
'from@domain.com'
)
->
setT
o
(
$form
->
email
)
->
s
etS
ubject
(
$form
->
subject
)
->
send
();
```
...
...
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