1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

add email by external PHP script

Discussion in 'Plesk for Linux - 8.x and Older' started by tekkmedia, May 9, 2005.

  1. tekkmedia

    tekkmedia Guest

    0
     
    hello,

    my name is dennis.

    i want to give out email adresses with pop3 for my community users.

    on my own dedicated server i have plesk 7.5.2 .

    how can i do this by an external php script.
    i have around 700 users. and for this 700 i won't do this by hand ;)

    can someone tell me how i can do this?
    what mail server is plesk using and in what mysql-db's i must write some data?

    i will be happy to hear from you!

    nice greetings from germany,
    dennis w.
     
  2. defencer

    defencer Guest

    0
     
    You can use creation utilities or API-RPC. Check the documentation how to use them.
     
  3. tekkmedia

    tekkmedia Guest

    0
     
    hello,

    i've wrote a lite create.sh

    here the code:
    PHP:
    /bin/sh
    /usr/local/psa/admin/bin/mailmng --add-mailname --domain-name=tekk.tv --mailname=maniachamster --disk-quota=5024
    /usr/local/psa/admin/bin/mailmng --add-mailbox --domain-name=tekk.tv --mailname=maniachamster
    /usr/local/psa/admin/bin/mailmng --set-password --domain-name=tekk.tv --mailname=maniachamster
    But i can't see the Email in the Plesk Adminpabel.

    And how can i set the password ?
    I can't give a password with

    /usr/local/psa/admin/bin/mailmng --set-password --domain-name=tekk.tv --mailname=maniachamster


    have a lot of thanks for help!
     
  4. defencer

    defencer Guest

    0
     
Loading...