简体   繁体   English

如何使用SimpleNews Drupal网站发送邮件(时事通讯)

[英]How send mail(newsletter) using simplenews drupal site

I am new with drupal and using simplenews module for newsletters 我是drupal的新手,并在新闻稿中使用了simplenews模块

How we send newletter using simplenews 我们如何使用simplenews发送新闻信

I tried a lot of R&D but not able to send newsletter, everytime it shows sent 0/0 我尝试了很多研发,但每次发送0/0时都无法发送新闻通讯

Can any body please guide me regards this 有人可以指导我对此吗

I am showing some images here 我在这里显示一些图像

http://i.stack.imgur.com/ax2sD.png http://i.stack.imgur.com/ax2sD.png

http://i.stack.imgur.com/EV1D0.png http://i.stack.imgur.com/EV1D0.png

http://i.stack.imgur.com/Blczf.png http://i.stack.imgur.com/Blczf.png

http://i.stack.imgur.com/Kuvd6.png http://i.stack.imgur.com/Kuvd6.png

Amit Battan 阿米特·巴坦(Amit Battan)

Well, the image shows that you are not using cron. 好吧,该图像表明您没有使用cron。 Nevertheless, is cron set up for your site? 但是,是否为您的网站设置了cron? If not, try installing the poormanscron module and see what happens. 如果不是,请尝试安装poormanscron模块并查看会发生什么。

Recently I had some problems when sending e-mails with simplenews newsletter module for Drupal. 最近,在使用带有用于Drupal的simplenews新闻通讯模块的电子邮件时,我遇到了一些问题。 While this is a very good module, sometimes made Drupal cron to fail and stuck. 尽管这是一个非常好的模块,但有时会使Drupal cron失败并卡住。 I also wanted full control on sending mails and to avoid some of the limitations of Drupal cron timings. 我还希望完全控制发送邮件,并避免Drupal cron计时的某些限制。 Since I didn't have the time to enhance the simplenews module I did this script to be sure that my mails are sent. 由于我没有时间来增强simplenews模块,因此我执行了此脚本来确保邮件已发送。 This script needs simplenews newsletter module and Drupal in order to work. 该脚本需要simplenews新闻通讯模块和Drupal才能工作。 It has been tested with Drupal 7 (but should work on any version) and simplenews 7. 它已经在Drupal 7(但适用于任何版本)和simplenews 7上进行了测试。

The script works out of drupal and speaks to the database so its better for performance and mail control. 该脚本可以在drupal之外运行,并且可以与数据库对话,因此可以更好地实现性能和邮件控制。 You can set the time step and the mails it sends every time based on your server sending limits. 您可以根据服务器的发送限制来设置时间步长及其每次发送的邮件。 At the end logs any bad mails. 最后记录所有不良邮件。 For me it is the solution for sending my newsltters. 对我来说,这是发送简讯的解决方案。

You can learn more and get the script from 您可以了解更多信息并从中获取脚本

http://tecorange.com/content/mail-send-addon-drupal-simplenews-newsletter http://tecorange.com/content/mail-send-addon-drupal-simplenews-newsletter

Maybe check your site email address. 也许检查您的站点电子邮件地址。 I think it's required for outgoing email. 我认为这是传出电子邮件所必需的。 Maybe it's your mail agent. 也许是您的邮件代理。 Any errors on your admin page? 您的管理页面上有任何错误?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM