fix: typo (#500)

This commit is contained in:
Kuma 2018-11-29 17:37:44 +09:00 committed by Tobias Nyholm
parent 36be6c3f30
commit 453b104bfd

View File

@ -5,7 +5,7 @@ You may attach a file from memory or by a file path.
## From file path ## From file path
```php ```php
$mg->message()->send('example.com', [ $mg->messages()->send('example.com', [
'from' => 'bob@example.com', 'from' => 'bob@example.com',
'to' => 'sally@example.com', 'to' => 'sally@example.com',
'subject' => 'Test file path attachments', 'subject' => 'Test file path attachments',
@ -21,7 +21,7 @@ $mg->message()->send('example.com', [
// Some how load the file to memory // Some how load the file to memory
$binaryFile = '[Binary data]'; $binaryFile = '[Binary data]';
$mg->message()->send('example.com', [ $mg->messages()->send('example.com', [
'from' => 'bob@example.com', 'from' => 'bob@example.com',
'to' => 'sally@example.com', 'to' => 'sally@example.com',
'subject' => 'Test memory attachments', 'subject' => 'Test memory attachments',
@ -35,7 +35,7 @@ $mg->message()->send('example.com', [
## Inline attachments ## Inline attachments
```php ```php
$mg->message()->send('example.com', [ $mg->messages()->send('example.com', [
'from' => 'bob@example.com', 'from' => 'bob@example.com',
'to' => 'sally@example.com', 'to' => 'sally@example.com',
'subject' => 'Test inline attachments', 'subject' => 'Test inline attachments',