The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

add_members automation

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

  1. phamtranquocvie

    phamtranquocvie Registered

    Joined:
    Dec 27, 2007
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    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.
     
Loading...
Similar Threads - add_members automation
  1. Neutrall
    Replies:
    1
    Views:
    67

Share This Page