0

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

-1

Create simple php script on root of magento and check if its working or not. Change $to and $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);
?> 
  • I have received the email – NielN98 Sep 7 '17 at 20:14
  • then php mail is working fine. – Abhishek Panchal Sep 7 '17 at 20:25
  • Yes, I know. So the problem is in my Magento webshop? Do you have another idea? – NielN98 Sep 7 '17 at 20:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.