Skip to content

Commit

Permalink
Merge pull request #81 from Graziel/patch-3
Browse files Browse the repository at this point in the history
Difference between QueueTransport and SimpleQueueTransport
  • Loading branch information
dereuromark committed Mar 19, 2016
2 parents 72fe6b7 + a61eee9 commit 47753b9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,12 @@ Instead of manually adding job every time you want to send mail you can use exis
```
This way each time you will `$email->send()` it will use `QueueTransport` as main to create job and worker will use `'transport'` setting to send mail.

#### Difference between QueueTransport and SimpleQueueTransport

* `QueueTransport` serializes whole email into the database and is useful when you have custom `Email` class.
* `SimpleQueueTransport` extracts all data from email (to, bcc, template etc.) and then uses this to recreate email inside task, this
is useful when dealing with emails which serialization would overflow database `data` field length.

### Killing workers
//TODO

0 comments on commit 47753b9

Please sign in to comment.