In my project, when a user creates an account they get the mail. But after making an order neither the customer nor the admin gets the mail. I found many solutions but that's all for Magento 1.9 or below. I am using Magento 2. I need a solution with or without using cron job. Can anyone help?
If you don't want to use Cron then just disable Email Async Setting from Admin.
Admin -> Configuration -> Sales -> Sales Emails -> General Settings -> Asynchronous sending -> Disable.
It should work for you If your server is configured for sending Email.
You might not able to send any email from local, because you have not configure SMTP on local server (Wamp/Xampp). You can used below free extension & input your gmail smtp details.
This will resolve your problem.