Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

add_members automation

Discussion in 'General Discussion' started by phamtranquocvie, Dec 27, 2007.

  1. phamtranquocvie

    phamtranquocvie Registered

    Dec 27, 2007
    Likes Received:
    Trophy Points:
    Hi All,
    Is there a way to automate adding members to a mailing list similar to the following automation script, which creates a new emails:

    $file = fopen("http://mgi:password@localhost:2082/frontend/x/mail/doaddpop.html?email=$email&domain=$domain&password=$password&quota=$quota ", "r");

    Note: I was trying to use php function "shell_exec ('/usr/local/cpanel/3rdparty/mailman/bin/add_members -r test -w n -a n listname') but realized that that was not possible because the php script was on server A, and the mail server on which the mailing list resided was server B.

    Any help is greatly appreciated.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice