Mail.send() not working

I have define mail service of adonis and i use mailtrap.io but i use Mail.send(’…’) sao it not working. I need from your help. Thank you.![Untitled|690x387]


1 Like

You created email template?

await Mail.send(“user.password.password_reset”)

Need file in resources/views/user/password/password-reset.edge.

yes, i have created template.

Test without appUrl ().

Example:

30

Note: Your sample mailtrap.io, not send mail to receiver. Just ‘demo inbox’

Thank you. I have tried it but it not work. And i want to demo about reset password.

it’s nothing.
my reset password work using this code

I hope this will help

2 Likes