cancel
Showing results for 
Search instead for 
Did you mean: 

newsletter not sending out emails after change to php7

SOLVED

newsletter not sending out emails after change to php7

I had to move to a new server with PHP7 last October, and I'm trying to send my first newletter since then; it's stuck in 'Not Sent'.

When I looked at my cron.sh output I was seeing

   Status: 301 Moved Permanently
   Content-Type: text/html; charset=UTF-8
   Location: /

I looked in cron.sh and `which php` was returning "/usr/local/bin/php" rather than "/usr/local/bin/ea-php70", so I forced this. The 301 error went away but the newsletter is still 'Not Sent'.

Does anyone know what else might be the issue here?

Magento 1.9.2.1 under Centos 7 with PHP 7.0.26

1 ACCEPTED SOLUTION

Accepted Solutions

Re: newsletter not sending out emails after change to php7

Yes, cron jobs are happening, but the newletter job just keeps updating the time but not actioning, until it exceeds the window and then it goes missed. Running the cron job via a page hit makes it work.

View solution in original post

2 REPLIES 2

Re: newsletter not sending out emails after change to php7

Hi @wetken,

 

Can you check if the cronjobs are running properly?

Re: newsletter not sending out emails after change to php7

Yes, cron jobs are happening, but the newletter job just keeps updating the time but not actioning, until it exceeds the window and then it goes missed. Running the cron job via a page hit makes it work.