On 03/14/2017 05:24 AM, david.terni@gmail.com wrote:
Hi, I apologize if this is't the right place but I don't understand how connect mailman 3 with api and php/CURL. It's possibile to do it? I tried to use the same url used with mailman2 but doesn't work.
Mailman 3 is completely different from Mailman 2 in this respect. While it would be possible to use php/CURL to post to Postorius analagously to posting to the Mailman 2 web UI, this is not how it is done.
Mailman 3 core exposes a RESTful api on localhost. Both Postorius and HyperKitty use this UI to communicate with the core and you should too.
Start at <http://mailman.readthedocs.io/en/release-3.0/src/mailman/rest/docs/basic.html>. The "Previous" link will take you to the section on Addresses and the "Next" links will take you through the rest of the REST api.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan