Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
S
Silex
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
common
Silex
Commits
78115b47
Commit
78115b47
authored
May 22, 2013
by
NLZ13
Committed by
Fabien Potencier
Jul 03, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added swiftmailers second argument for the send function within the SwiftmailerTrait
parent
e9e1b209
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
src/Silex/Application/SwiftmailerTrait.php
src/Silex/Application/SwiftmailerTrait.php
+4
-2
No files found.
src/Silex/Application/SwiftmailerTrait.php
View file @
78115b47
...
...
@@ -22,9 +22,11 @@ trait SwiftmailerTrait
* Sends an email.
*
* @param \Swift_Message $message A \Swift_Message instance
* @param array $failedRecipients An array of failures by-reference
* @return int
*/
public
function
mail
(
\Swift_Message
$message
)
public
function
mail
(
\Swift_Message
$message
,
&
$failedRecipients
=
null
)
{
return
$this
[
'mailer'
]
->
send
(
$message
);
return
$this
[
'mailer'
]
->
send
(
$message
,
$failedRecipients
);
}
}
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