NOTE:: Before reporting an issue, make sure you are running the latest version, currently 3.3.1

View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0016993phplist applicationCommand Linepublic26-12-13 23:2018-07-14 18:24
PlatformLinuxOSUbuntuOS Version12.04 LTS
Product Version3.0.5 
Target Version3.0.XFixed in Version3.0.7 
Summary0016993: Commandline send does not work
DescriptionCommand line "-psend" does not work with phplist 3.x. The "-psend" feature does work with phplist 2.10.19.
Steps To Reproducephplist -psend -s This is the subject -l test 1 2 3 -f < messagefile
Additional InformationIt seems to have problems if there is a saved draft but when I delete the saved draft and try the -psend again I get different error of "Please enter a from line." that looks as if it is intended for a web browser.
TagsNo tags attached.
Attached Fileszip file icon [^] (36,208 bytes) 27-12-13 21:00

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
michiel (manager)
27-12-13 08:54

ah, yes, I never kept track of that. Didn't think anyone used it.
jholland (reporter)
27-12-13 21:03
edited on: 27-12-13 21:04

Hey Michiel, I went through the debugger and compared how phplist 2.10.19 handled the psend command versus how phplist 3.0.5 handled it. After that I managed to get psend to work on phplist 3.0.5. I have attached a .zip file of the changes I made if you want to add them to the next version of phplist. Thanks! Jason

jholland (reporter)
27-12-13 21:08

FYI, the send.php.changeset.txt in the zip file I just uploaded looks like I did a lot of changes but I only wrapped a block of code inside an if (!$GLOBALS["commandline"]) {...} statement.
michiel (manager)
27-12-13 23:28

If you can do it as a pull request on [^] that would be brilliant.
jholland (reporter)
30-12-13 15:47

Hey Michiel, I just sent the pull request. Thanks!
michiel (manager)
31-12-13 10:10

brilliant, got it, thanks. It may take a little while for me to process it, but it s in the right place :-)
michiel (manager)
31-12-13 10:10 [^]
michiel (manager)
18-07-14 18:24

merged it, tested it and it works great!

Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker