back to phpList.org

Autoresponder doesn't send messages


#3

Autoresponders

Whe can I preccess que?


#4

I have found this, after this, the arrived, but why it didn’t automaticcaly. I aready had some send automatically.


#5

List Message Queue Processing Report

The following events occured while processing the message queue:

[Fri 7 Dec 2018 20:34] [77.183.16.161] Started

[Fri 7 Dec 2018 20:34] [77.183.16.161] Sending in batches of 10 emails

[Fri 7 Dec 2018 20:34] [77.183.16.161] Processing has started,

[Fri 7 Dec 2018 20:34] [77.183.16.161] 6 campaigns to process.

[Fri 7 Dec 2018 20:34] [77.183.16.161] Please leave this window open. phpList will process your queue until all messages have been sent. This may take a while

[Fri 7 Dec 2018 20:34] [77.183.16.161] Report of processing will be sent by email

[Fri 7 Dec 2018 20:34] [77.183.16.161] Processing campaign 7

[Fri 7 Dec 2018 20:34] [77.183.16.161] Looking for subscribers

[Fri 7 Dec 2018 20:34] [77.183.16.161] Found them: 1 to process

[Fri 7 Dec 2018 20:34] [77.183.16.161] Processed 1 out of 1 subscribers

[Fri 7 Dec 2018 20:34] [77.183.16.161] It took 12 days 20 hours 39 minutes 15 seconds to send this message

[Fri 7 Dec 2018 20:34] [77.183.16.161] Processing campaign 376

[Fri 7 Dec 2018 20:34] [77.183.16.161] Looking for subscribers

[Fri 7 Dec 2018 20:34] [77.183.16.161] Found them: 1 to process

[Fri 7 Dec 2018 20:34] [77.183.16.161] Processed 1 out of 1 subscribers

[Fri 7 Dec 2018 20:34] [77.183.16.161] It took very little time to send this message

[Fri 7 Dec 2018 20:34] [77.183.16.161] Processing campaign 377

[Fri 7 Dec 2018 20:34] [77.183.16.161] Looking for subscribers

[Fri 7 Dec 2018 20:34] [77.183.16.161] Found them: 1 to process

[Fri 7 Dec 2018 20:34] [77.183.16.161] Processed 1 out of 1 subscribers

[Fri 7 Dec 2018 20:34] [77.183.16.161] It took 10 days 20 hours 39 minutes 15 seconds to send this message

[Fri 7 Dec 2018 20:34] [77.183.16.161] Processing campaign 751

[Fri 7 Dec 2018 20:34] [77.183.16.161] Looking for subscribers

[Fri 7 Dec 2018 20:34] [77.183.16.161] Found them: 1 to process

[Fri 7 Dec 2018 20:34] [77.183.16.161] Processed 1 out of 1 subscribers

[Fri 7 Dec 2018 20:34] [77.183.16.161] It took 9 days 20 hours 39 minutes 13 seconds to send this message

[Fri 7 Dec 2018 20:34] [77.183.16.161] Processing campaign 752

[Fri 7 Dec 2018 20:34] [77.183.16.161] Looking for subscribers

[Fri 7 Dec 2018 20:34] [77.183.16.161] Found them: 1 to process

[Fri 7 Dec 2018 20:34] [77.183.16.161] Processed 1 out of 1 subscribers

[Fri 7 Dec 2018 20:34] [77.183.16.161] It took 01 seconds to send this message

[Fri 7 Dec 2018 20:34] [77.183.16.161] Processing campaign 1137

[Fri 7 Dec 2018 20:34] [77.183.16.161] Looking for subscribers

[Fri 7 Dec 2018 20:34] [77.183.16.161] Found them: 1 to process

[Fri 7 Dec 2018 20:34] [77.183.16.161] Processed 1 out of 1 subscribers

[Fri 7 Dec 2018 20:34] [77.183.16.161] It took very little time to send this message

[Fri 7 Dec 2018 20:34] [77.183.16.161] Script stage: 5

[Fri 7 Dec 2018 20:34] [77.183.16.161] 6 messages sent in 3.02 seconds (7146 msgs/hr)


#6

@dreamcreator From what you have shown the autoresponders appear to be working.


#7

yes but only after “run processqueue” it is not automatically, Will it now work on auto?


#8

@dreamcreator See https://resources.phplist.com/system/remote_processing


#9

That is how phplist works. You need to process the queue to send any campaigns, not just the autoresponders. This is explained in the documentation https://resources.phplist.com/plugin/autoresponder#how_it_works


#10

I red this many times, but I wonder that my first messages went automatically and now with new test users not.
I can’t finde this cronjob address, maybe with that I could manage this autoamtically?


#11

Is this the address for cronejob? https://list.istok.de/admin/?page=processqueue
I still don’t understand why cronejob is needed when it has once worked without.
In your link there almost nothing about this…


#12

You can run processqueue manually through the browser but I doubt whether that will be convenient. Please see the online phplist documentation for an explanation of running a cron job https://www.phplist.org/manual/ch035_methods-of-sending-browser-cron-command-line.xhtml


#13

this is a solution for hosted version of phplist, not selfhosted ;(
Other one solution-I don’t have ssh on my webspace account.
Normally I new cronejobs just as …php address.
Doe’s it mean I can’t use autoresponder on phplist?

It would be very frustrated, If I had known this I haven’t sit days with this prepering messages :frowning:


#14

Do you mean that your cron job can only fetch a URL, as opposed to running a linux command? If so then you can try using the “remote processing” approach using the URL shown here
https://resources.phplist.com/system/remote_processing?s[]=secret#how_to_set_up_remote_processing_of_the_queue


#15

When I build this link it occurs nothing and show a 404 page.

https://list.istok.de/lists/admin/?page=processqueue&secret=f8282

I guess tha last point with API key is only for phplist hosted accounts relevant


#16

@dreamcreator The URL should be the same as when you access phplist as an admin, except with the extra secret parameter.


#17

It seems that I have to wait to have enabled API manually, I just have sent an mail for this :slight_smile:


#18

I really don’t understand what you mean with:
The URL should be the same as when you access phplist as an admin, except with the extra secret parameter.

On hosted there are possible:

http://www.yoursite.com/lists/admin/?page=hostedprocessqueuesetup
and
https://www.phplist.com/API/soap.php?wdsl&tag=rainbowsongs&user=[account email]&pass=[account password]

my list is: list.istok.de

How should the url look?

Do I have to wait for API or is it only for hosted account?


#19

@dreamcreator You access phplist at https://list.istok.de/admin/
The URL that you showed before included '/lists'.


#20

corrected:

https://list.istok.de/admin/?page=processqueue&secret=f8282
shows in return:

{“campaign”:0,“num_users_for_message”:0,“batch_count”:0,“batch_total”:10000,“sendemail returned false total”:0,“send blocked by domain throttle”:0,“add attachment error”:0,“sendemail returned false”:0,“sentastest”:0,“invalid”:0,“failed_sent”:0,“sent”:0,“num_per_batch”:10000,“status”:“embargo”,“delaysend”:null}

So I guess it is correct. Now I should make a cronejob, f.e hourly with this url if I good understand.

Hopenly it will work. Thank YOu


#21

wantig set a cronejob I discovered something from phplist that is there. (ssh?)
I havent set this, it looks like :slight_smile:

/var/www/vhosts/istok.de/list.istok.de/admin/index.php -pprocessqueue -c/var/www/vhosts/istok.de/list.istok.de/config/config.php >/dev/null

But when I let it run I get failure alert :frowning:

Maybe that was, what I have meant that to begin it has worked without a cronejob.


#22

You are missing the ‘php’ command… here’s an example of what you would want…

/usr/bin/php -q /home/useracct/www/html/lists/admin/index.php -p processqueue -c /home/useracct/www/html/lists/config/config.php

or, in the crontab file…

*/6 *  * * * root /usr/bin/php -q /home/useracct/www/html/lists/admin/index.php -p processqueue -c /home/useracct/www/html/lists/config/config.php
22 * * * * root /usr/bin/php -q /home/useracct/www/html/lists/admin/index.php -p processbounces -c /home/useracct/www/html/lists/config/config.php

Your directory for the php command, and the path to the index.php and config.php would most likely be different, and therein lies the ‘tricky’ part to setting these up (especially on a virtual machine hosted somewhere like godaddy, etc.).