mirror of
https://github.com/retailcrm/mailgun-php.git
synced 2024-11-21 20:16:03 +03:00
fix: typo (#500)
This commit is contained in:
parent
36be6c3f30
commit
453b104bfd
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user