Ehsan
Ehsan

Reputation: 4464

[magento]: emails are not being sent

well, I know there are thousands Q/A on this topic, but none of them seem to answer my question. What I have done so far is that I have configured magento to send emails on port 25 and added the mail server IP. After a lot of struggles I found out that magento is sending emails using mail() function, and I checked with this snippet whether it is enabled in my host or not?

 <?php 
if(function_exists('mail')) {   echo 'mail() is enabled'; }    
    else {  echo 'mail() is not enabled'; }

and the output is that the "mail() is not enabled", so what I did was to ask my host to turn this function on for me, but they were saying it is not turned on for security reasons.

So, How can I set up Magento to use a separate mail server to send its emails through.

What should I do?

Thanks,

Upvotes: 0

Views: 334

Answers (2)

Marcel
Marcel

Reputation: 55

Magento 1.9 sends mails through the cron job. make sure that is set up correctly!

https://docs.nexcess.net/article/how-to-configure-a-cron-job.html

Upvotes: 0

Vinod Patidar
Vinod Patidar

Reputation: 685

We have some other ways to set up smtp for magento, the default settings only accept the basic set up. You can check magento set up tutorial here Magento SMTP Email Setup

Thanks

Upvotes: 1

Related Questions