NOTE:: Before reporting an issue, make sure you are running the latest version, currently 3.3.1
|Anonymous | Login | Signup for a new account||24-08-17 04:10 BST|
|My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0008720||phplist application||Message Send Process||public||07-12-06 16:51||18-02-08 14:08|
|Target Version||2.10.7||Fixed in Version||2.10.5|
|Summary||0008720: Using -p send from the commandline doesn't seem to work|
|Description||This issue was reported by Gord Fisch (gfisch) on the forum: http://forums.phplist.com/viewtopic.php?t=7331 [^]|
"Trying to get the command line to upload a message
/usr/local/bin/php /homedir/admin/lists/bin/phplist -psend -s New Member Notification -l 2 < $filename
I had this working on an older, hacked version of phplist on another server but the site has moved to a server with php 5. I updated to the latest version of phplist.
I upload a different message every night with the above then process the queue.
All paths and so on are correct, the $filename exists and has content but when I run the command,
phplist sets up a 'draft' message with no subject and no content. "
This is the fix gfisch suggested:
I added some lines in send_core.php around line 80
That was creating a 'blank' draft and redirecting.
The redirecting caused problems for the commandline.
|Additional Information||The problem apparently occurred on a PHP 5 server.|
|Tags||No tags attached.|
|I was always wondering whether anyone knew about and used the sending messages from commandline, but they obviously did. Nice one.|
|Suggestion implemented and tested.|
|Copyright © 2000 - 2017 MantisBT Team|