We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b012e66 commit ae1cc57Copy full SHA for ae1cc57
README.md
@@ -66,9 +66,21 @@ class ExampleNotification extends Notification
66
public function toSendGrid($notifiable)
67
{
68
return (new SendGridMessage('Your SendGrid template ID'))
69
+ /**
70
+ * optionally set the from address.
71
+ * by default this comes from config/mail.from
72
+ * ->from('no-reply@test.com', 'App name')
73
+ */
74
+
75
76
+ * optionally set the recipient.
77
+ * by default it's $notifiable->email:
78
+ * ->to('hello@example.com', 'Mr. Smith')
79
80
81
->payload([
- "template_var_1" => "template_value_1"
- ]);
82
+ "template_var_1" => "template_value_1"
83
+ ]);
84
}
85
86
0 commit comments