Skip to content

Commit

Permalink
chore(readme): updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahmard committed Dec 20, 2023
1 parent 7844364 commit 755e608
Showing 1 changed file with 28 additions and 2 deletions.
30 changes: 28 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,15 +75,41 @@ $response = $application->send(
),
receiver: [
Mailbox::create(
name: 'Ahmad Mustapha',
email: 'ahmad.mustapha@spiralover.com'
name: 'Jane Doe',
email: 'jane.doe@spiralover.com'
)
]
)
]
);
```

You can also specify **cc**, **bcc** & **reply to**
```php
MailData::create(
[...],
cc: [
Mailbox::create(
name: 'Jane',
email: 'jane@spiralover.com'
)
],
bcc: [
Mailbox::create(
name: 'Shaheed',
email: 'shaheed@spiralover.com'
)
],
reply_to: [
Mailbox::create(
name: 'Tom Tucker',
email: 'tom.tucker@spiralover.com'
)
]
);
```


## Client Options

```php
Expand Down

0 comments on commit 755e608

Please sign in to comment.