Magento:时事通讯未发出

发布于 2024-09-08 04:28:26 字数 261 浏览 10 评论 0原文

我遇到的问题是,我已经创建了新闻通讯模板,添加了一些订阅者,并且我可以将带有订阅者的模板添加到队列中 - 所有这些都工作正常。

我还可以从浏览器运行 cron.php - 它运行时没有错误,但该死的电子邮件无论如何都不会出去。因此,我还没有完成 crontab -e 并将这些内容添加到该文件中。据我所知 - 从哪里执行文件并不重要 - 无论是 crontab、shell 还是浏览器 - 它在任何情况下都应该有效。我可以看到它不起作用。

有什么想法吗?

艾伦

The problem i have is that i have created newsletter template, added few subscribers and i can add the template with subscribers into queue - all that works fine.

I can also run the cron.php from the browser - it runs without errors, but the damn e-mails are not going out anyway. For that reason i have not done the crontab -e and added the stuff into that file yet. As far as i see - it does not matter where you execute the file from - be it crontab, shell or browser - it should work in any case. And i can see that it is not working.

Any ideas?

Alan

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

泛泛之交 2024-09-15 04:28:26

我可以建议你看一下数据库的 cron_schedule 表吗?
一旦调用 cron.php 文件(应该通过 crontab 或通过浏览器请求),就必须在表中添加一行。该行是“newsletter_send_all”。

如果之前已安排了“neswsletter_send_all”,则应运行该“neswsletter_send_all”,并将其状态设置为“成功”,将新状态设置为“待处理”。或者,如果出现问题,警告消息将存储在 cron_schedule 表中与失败的 newsletter_send_all 位于同一行。

如果运行 cron.php 时 cron_schedule 表未附加新行,则新闻通讯模块的 config.xml 文件或管理配置中的 cron 设置可能有问题。关于最后一个主题,请参阅:http://www.jnorton.co。 uk/blog/setting-magento-cron-system

以上所有内容可能会给您一些线索。

May I suggest you take a look at the cron_schedule table of your database ?
As soon as the cron.php file has been called (should it be via crontab or via a browser request), there must be a line added to the table. The line is "newsletter_send_all".

If a previous "neswsletter_send_all" was scheduled it should be run and its status set to "success" and the new one to "pending". Or, if there's a problem, the warning message is stored in the cron_schedule table on the same line as the newsletter_send_all that failed.

If when running cron.php the cron_schedule table is not appended with a new line, there may be a problem with the config.xml file of the Newsletter module or with your cron settings in the admin configuration. About that last subject see : http://www.jnorton.co.uk/blog/setting-magento-cron-system

All the above may give you a few tracks.

維他命╮ 2024-09-15 04:28:26

是否有从 Magento 发送的电子邮件? (例如订单确认)?如果没有,您可能需要在服务器上设置电子邮件发送选项或外发电子邮件设置。

Are any emails being sent from Magento? (such as order confirmations)? If not, you might need to setup your email sending options or the outgoing email settings on the server.

游魂 2024-09-15 04:28:26

导航到配置>管理>安全,在“将密钥添加到 URL”中选择“否”,保存配置。

源:http://www.magentocommerce.com/boards/viewthread/2424/P105 /#

Navigate to Configuration>Admin>Security, select “No” in “Add Secret Key to URLs”, save configuration.

Src: http://www.magentocommerce.com/boards/viewthread/2424/P105/#

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文