Using mail on api-only project

Hey, I’m trying to use the Mail module on a project that was created using the --api-only flag, when I import mail and try to register an user I receive the error that is in the images below, if someone know what is happening =/

Screen Shot 2020-03-17 at 10.59.15

1 Like

Seems like Edge provider is missing
Mails use same Edge to render mail templates as normal web app uses to render pages

https://adonisjs.com/docs/4.1/views

1 Like

That solved the problem. Thank you