@ -17,10 +17,11 @@ Provides a simple interface to set up SMTP with your [APIStar](https://github.co
### Example Setup
### Example Setup
To send mail messages from your view functions you must include a dictionary of mail options to the `MailComponent. Here we have a minimally viable app capable of sending an email message and returning a 204 response code:
To send mail messages from your view functions you must include a dictionary of mail options to the `MailComponent`. Here we have a minimally viable app capable of sending an email message and returning a 204 response code:
```python
```python
from apistar import App, Route
from apistar import App, Route
from apistar.http import Response
from apistar_mail import MailComponent, Mail, Message
from apistar_mail import MailComponent, Mail, Message