Elxis CMS Forum

Extensions => Modules => Topic started by: bledi on November 21, 2014, 13:08:47

Title: Newsletter Module for a subsite
Post by: bledi on November 21, 2014, 13:08:47
Hello!

I am using the newsletter module for a subsite in manual mode, but it seems not sending the email each time. In 6 times i have sent email to about 30 Subscribers, only 2 times has sent it. Now i test it in test mode to my address and it is not sending.
While in the mother site the automatic version it sends the emails regularly without any problem.
Any idea
Thanks
Title: Re: Newsletter Module for a subsite
Post by: datahell on November 21, 2014, 14:28:24
Check if these files exist and are writeable:

modules/mod_newsletter/inc/worker2.php
modules/mod_newsletter/inc/site2/mailtext.txt


Replace 2 with the sub-site id (2, 3, 4, ...)

The module creates them automatically but might this action has failed.

Title: Re: Newsletter Module for a subsite
Post by: bledi on November 22, 2014, 18:03:09
Thanks datahell.
File ...modules/mod_newsletter/inc/site2/mailtext.txt, was not at all. I created it. file permission 644.
I sent a test yesterday, and the email arrive today in my inbox.
I dont understand , is it the fault of the my mail server, or is still smth. with the module code.

Thanks
Title: Re: Newsletter Module for a subsite
Post by: datahell on November 22, 2014, 21:20:43
File mailtext.txt is not created automatically for sub-sites, I must fix this. worker.php is OK and been created automatically on sub-sites.

As for the late delivery of the e-mail this is due to how the module works (except you have enabled cache*). The modules are driven by the site guests and so the Newsletter module. The more visitors your site has the more accurate the Newsletter module will be. On a normal online site Newsletter should work very good.

* Make sure you haven't enable cache in module Newsletter!

Tip: Go to site's frontend and do some clicks on a page the module is been displayed. This will trigger the module to send emails if it has something to send and the date time is proper. You will understand when the module sends the email as it will take more time to load the page than the usual.

Module Newsletter is a tiny web application that does almost what huge mailing systems do. It is very compact, smart and easy to use. Exactly in the spirit of Elxis!
Title: Re: Newsletter Module for a subsite
Post by: bledi on November 24, 2014, 15:19:55
Hello
I dont see to have an option of enable/disable Cache in this module..! :(
Title: Re: Newsletter Module for a subsite
Post by: bledi on November 24, 2014, 16:04:18
Yes, now i see how this module works, after opening one page with the module, the email was sent. Great.
Thanks