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 82cfef7 commit 4a10101Copy full SHA for 4a10101
README.md
@@ -7,6 +7,15 @@
7
8
Handle incoming emails in your Laravel application.
9
10
+``` php
11
+Mailbox::from('{username}@gmail.com', function(InboundEmail $email, $username) {
12
+ // Access email attributes and content
13
+ $subject = $email->subject();
14
+
15
+ $email->reply(new ReplyMailable);
16
+});
17
+```
18
19
## Installation
20
21
You can install the package via composer:
@@ -18,8 +27,7 @@ composer require beyondcode/laravel-mailbox
27
## Usage
28
29
``` php
-$Mailbox = new BeyondCode\Mailbox();
22
-echo $Mailbox->echoPhrase('Hello, BeyondCode!');
30
23
31
```
24
32
25
33
### Testing
0 commit comments