My Magento 2 webshop don't send any email. My cronjob is running and The settings are the same as in this ticket: order confirmation email not send in magento 2
Does anyone have any idea what might be wrong?
I'm using Magento 2.1.5
Create simple php script on root of magento and check if its working or not. Change
$from email address.
<?php $to = "your email address"; $subject = "PHP Test mail"; $message = "Hello! This is a simple email message."; $from = "random email address"; $headers = "From:" . $from; mail($to,$subject,$message,$headers); ?>