Ecodev / newsletter

TYPO3 extension to send newsletter

Home Page:https://extensions.typo3.org/extension/newsletter/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Task "Send Newsletter" gets stuck running as cronjob (TYPO3 8.7)

alexloetscher opened this issue · comments

Hello

I've updated TYPO3 from 6.2 to 8.7 and the newsletter extension to 3.3.1.
Everything works fine (thanks for your work), except the "send newsletter" task as cronjob. When I start the task manually it works fine.
As far as a can see, it stucks in the substituteMarkers() function in the mailer class.
To be precise: In the getMarkers() function it gets stuck (

$markers = $email->getRecipientData();
). It can't get the recipientData?

I did set the $_SERVER['HTTP_HOST'] variable manually, but without any success.

Do you have any idea?

regards,
Alex

did you triple check that the PHP version and its configuration is absolutely identical when run from the web, manually from CLI and automatically via cron ?

Thanks for the hint. Except of some little regulary differences and the $_SERVER variables, the configuration is identical. Anyway, I will start the taks manually in the future.