Skip to content

Commit

Permalink
Merge pull request waynerv#34 from marksteward/master
Browse files Browse the repository at this point in the history
Clarify when `outbox` is created
  • Loading branch information
waynerv authored Mar 17, 2022
2 parents d00e27c + d7fd33b commit 5369264
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ Support for `pathlib.Path` was added.

### In-memory backend

The 'locmem' backend stores messages in a special attribute of the **Mail** instance. The `outbox` attribute is created when the first message is sent. It’s a list with an `EmailMessage` instance for each message that would be sent.
The 'locmem' backend stores messages in a special attribute of the **Mail** instance. The `outbox` attribute is created when the backend is first created (e.g. by sending a message or calling `.get_connection()`). It’s a list with an `EmailMessage` instance for each message that would be sent.

To specify this backend, put the following in your configurations:

Expand Down

0 comments on commit 5369264

Please sign in to comment.