From 453b104bfd1588488634369a7d967abe6d9f5109 Mon Sep 17 00:00:00 2001 From: Kuma Date: Thu, 29 Nov 2018 17:37:44 +0900 Subject: [PATCH] fix: typo (#500) --- doc/attachments.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/attachments.md b/doc/attachments.md index 92f5090..5429d00 100644 --- a/doc/attachments.md +++ b/doc/attachments.md @@ -5,7 +5,7 @@ You may attach a file from memory or by a file path. ## From file path ```php -$mg->message()->send('example.com', [ +$mg->messages()->send('example.com', [ 'from' => 'bob@example.com', 'to' => 'sally@example.com', 'subject' => 'Test file path attachments', @@ -21,7 +21,7 @@ $mg->message()->send('example.com', [ // Some how load the file to memory $binaryFile = '[Binary data]'; -$mg->message()->send('example.com', [ +$mg->messages()->send('example.com', [ 'from' => 'bob@example.com', 'to' => 'sally@example.com', 'subject' => 'Test memory attachments', @@ -35,7 +35,7 @@ $mg->message()->send('example.com', [ ## Inline attachments ```php -$mg->message()->send('example.com', [ +$mg->messages()->send('example.com', [ 'from' => 'bob@example.com', 'to' => 'sally@example.com', 'subject' => 'Test inline attachments',