1
Zap_English
Problem with xNewsletter

It's not working

In preferences I had it set to send 10 emails every 10 minutes. There are 50 members subscribed in the database

It sent out the first 10 emails and then seems to have stopped.

I tried to send again and I got "failed-> Could not instantiate mail function." for 90 emails?

I reset the preferences to "0" ( send all at once) and got the same error

Then I reset the preferences to "25" to send 25 emails at a time and again I got "failed-> Could not instantiate mail function." for 25 emails

Newsletter Statistics
There are 1 Accounts in the Database
There are 1 Categories in the Database
There are 50 Subscribers in the Database
There are 50 Categories-Subscribers in the Database
There are 1 Newsletter in the Database
There are 0 Attachment in the Database
There are 134 Protocol in the Database
There are 15 Task in the Database
There are 0 Bounce Mails in the Database

2
goffy
Re: Problem with xNewsletter
  • 2019/8/30 10:34

  • goffy

  • Just can't stay away

  • Posts: 543

  • Since: 2010/12/27


Hi

if you work with newsletters you have to take care about a few things:
1) if you use php sendmail function normally the provider has a limit how much you can send per hour/day. you have to look into your website host settings to find out this limit or to contact your hoster.
if you exceed this limit you get "failed-> Could not instantiate mail function."

it seems (what I see in your posting) you exceeded this limit, because once you reached it it doesn't matter whether you want to send 1 or 100 mail

2) if you use existing email via smtp then you have to check the limit of your email account

3) sending in blocks:
if you have e.g. a limit of 100 mails per hour you can set the preference to e.g. 90 every hour.
the first 90 mails are sended immediately, then xnewsletter is waiting for a new call.
the call must be done by cron.php
as XOOPS itself has no cron function you have to set it up e.g. in your hosting package. most of hoster which provides webspace and email provides also the possibility to set up a cron job. This external cron job must call cron.php each hour.
if you are not sure how to set up a cron job then ask your provider, because this is different in the various existing systems

for more information you should also read https://app.gitbook.com/@xoops/s/xnewsletter-tutorial/

3
Zap_English
Re: Problem with xNewsletter

I gave my host all the options available in xNewsletter and they told me to use php mail()

And they tell me my limit is 200 emails per hour

4
Zap_English
Re: Problem with xNewsletter

I had them set up a cron job to send 10 every 10 minutes

So do I have to click on the send icon to initiate it, or will cron.php do it?

5
Zap_English
Re: Problem with xNewsletter

I guess the cron job does it

but I'm still getting errors

Error sending newsletter: 5 of 5 newsletters not sent

but there are 15 emails in the list with failed-> Could not instantiate mail function.

6
goffy
Re: Problem with xNewsletter
  • 2019/8/30 20:07

  • goffy

  • Just can't stay away

  • Posts: 543

  • Since: 2010/12/27


hi

no idea for the moment. can you create an admin login for me and send me the user/pwd by PM?

7
Zap_English
Re: Problem with xNewsletter

I got the same error again this month

After the first 10 emails it stops sending

It's set for 10 emails every 10 minutes and my host increased my email limit to 2000 per hour

8
Mamba
Re: Problem with xNewsletter
  • 2019/10/6 1:38

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


We've made some updates to the module, you might test the 1.4 Beta 1 release and see if it solved some of your issues:

https://github.com/XoopsModules25x/xnewsletter/releases
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

Login

Who's Online

250 user(s) are online (139 user(s) are browsing Support Forums)


Members: 0


Guests: 250


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits