hii, there seems not much error, i think you have not use @ before giving mail id of mailgun. (This would be test@your SANDBOX_URL). here it is mention to use test@… thank you
@bhatiagunit Check the Mailgun logs to see what is happening to the email requests that are being sent from your code.
If you are sending to another email ID(besides your own) using your sandbox account, then those emails will not be sent.
@bhatiagunit Hey, as mentioned use “test@” followed by your sandbox_url which you can find in the dashboard.