File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,18 @@ be thrown.
122122
123123## E-mail
124124
125- This package offers to send an e-mail with a link containing the verification token.
125+ This package provides a method to send an e-mail with a link containing the verification token.
126+
127+ - `send(AuthenticatableContract $user, $subject = null, $from = null, $name =
128+ null)`
129+
130+ By default the package will use the ` from ` and ` name ` values defined into the
131+ ` config/mail.php ` file:
132+
133+ 'from' => ['address' => '', 'name' => ''],
134+
135+ If you want to override the values, simply set the ` $from ` and (optional)
136+ ` $name ` parameters.
126137
127138Please refer to the Laravel [ documentation] ( https://laravel.com/docs/ ) for the proper e-mail component configuration.
128139
@@ -178,7 +189,8 @@ The package public API offers three (3) methods.
178189
179190Generate and save a verification token for the given user.
180191
181- * ` send(AuthenticatableContract $user, $subject = null) `
192+ * `send(AuthenticatableContract $user, $subject = null, $from = null, $name =
193+ * null)`
182194
183195Send by e-mail a link containing the verification token.
184196
You can’t perform that action at this time.
0 commit comments