Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2dd3ed4

Browse filesBrowse files
committed
Readded a NamedAddress example
1 parent a906482 commit 2dd3ed4
Copy full SHA for 2dd3ed4

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎mailer.rst

Copy file name to clipboardExpand all lines: mailer.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ both strings or address objects::
148148

149149
// defining the email address and name as an object
150150
// (email clients will display the name)
151-
->from(new Address('fabien@example.com'))
151+
->from(new NamedAddress('fabien@example.com', 'Fabien'))
152152

153153
// defining the email address and name as a string
154154
// (the format must match: 'Name <email@example.com>')

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.