Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 29
  1. #1
    Member
    Join Date
    Feb 2003
    Posts
    128

    Default Script for adding email users to a domain?

    I was wondering if cpanel uses a script to add email users to a domain?

    The reason I ask is because I am looking to design a module for our billing software so users could purchase email accounts on certain domains. I have an API that can connect via ssh and execute a script with the necessary variables to add the user.

    Is this possible?

    Thanks!

  2. #2
    Member
    Join Date
    Mar 2004
    Posts
    12

    Talking I have one for you

    Hi

    I have a script to add/delete accounts. If you wish I can send it to you.

    Take care,
    George

    cpanel(AT)gjm.gr

    P.S. http://domain:2082/frontend/x/mail/m...op.html?email=$email&domain=$domain&password=$password&quota=$quota

  3. #3
    Registered User
    Join Date
    Apr 2004
    Location
    Timisoara,Romania
    Posts
    3

    Default Re: I have one for you

    Originally posted by geomir
    Hi

    I have a script to add/delete accounts. If you wish I can send it to you.

    Take care,
    George

    cpanel(AT)gjm.gr

    P.S. http://domain:2082/frontend/x/mail/m...op.html?email=$email&domain=$domain&password=$password&quota=$quota
    Please mail it to me if you want.
    whiteadi@yahoo.com

  4. #4
    Member
    Join Date
    Mar 2004
    Posts
    12

    Default Sent it

    Check your e-mail I sent it.

  5. #5
    Registered User
    Join Date
    Apr 2004
    Location
    Timisoara,Romania
    Posts
    3

    Default Re: Sent it

    Originally posted by geomir
    Check your e-mail I sent it.
    Thanks, I got it now, I will try it...

  6. #6
    Member
    Join Date
    Sep 2001
    Posts
    25

    Default

    Would you pass it to me also? Thanks.

    hblair@hotfootmail.com

  7. #7
    Member
    Join Date
    Apr 2004
    Posts
    23

    Default

    Could i get a copy as well? tks...

    EDIT EMAIL OUT
    Last edited by trumpetx; 04-21-2004 at 08:17 AM.

  8. #8
    Member
    Join Date
    Mar 2004
    Posts
    12

    Wink

    Sure

    I will send it to you in a couple of hours because I have it in the other PC.

    Peace,
    George

  9. #9
    Member
    Join Date
    May 2003
    Location
    Faro > Portugal
    Posts
    40

    Default

    sorry to bother.. but could you send me a copy too?!?

    codemaker [at] sapo.pt

    Thanks

  10. #10
    Member
    Join Date
    Feb 2003
    Posts
    128

    Default

    i would also like it!

    andy [at] cooplabs.com

    is it for adding email accounts or just users in general?

    does it run on the *NIX cmd line?

  11. #11
    Member chican0's Avatar
    Join Date
    Mar 2003
    Location
    Los Angeles
    Posts
    59

    Default

    /me raises hand too

    Can i get a copy of that script as well? my email is sal [at] outdone.net


    I would really appreciate it!

  12. #12
    Registered User
    Join Date
    Mar 2004
    Posts
    3

    Default

    Does this script check to make sure you have no dupes? I had to use a MySQL DB with all the usernames in it and when someone requested an account it would check the DB before it passed the URL string

  13. #13
    Member isputra's Avatar
    Join Date
    May 2003
    Location
    Mbelitar
    Posts
    593

    Default

    Please send it to me too at hosting_mnet@telkom.net
    It's me ...... It's me ......

  14. #14
    Member
    Join Date
    Mar 2004
    Posts
    12

    Default Reply to everybody

    Hi

    I sent it to everybody, if somebody did not receive it please let me know.

    >>"Does this script check to make sure you have no dupes?"

    Yes it actually does!!! Check your add demo, if the function returns the string 'ERROR' it means you tried to enter a duplicate address.

    >>"is it for adding email accounts or just users in general?"

    It is for adding e-mail accounts but you can modify it to add users if you have the whm access key. (you can also use it via *nix through another script)

  15. #15
    Registered User
    Join Date
    Mar 2004
    Posts
    3

    Default

    I might like to take a look at this then. I could even dump my MySQL DB then. Could you email it to me, or post a link would be better so other can check it out too without requesting.

    Ryan
    ryan (at) suiso.com

Similar Threads & Tags
Similar threads

  1. Adding Users Per Domain
    By squared in forum New User Questions
    Replies: 1
    Last Post: 07-30-2006, 01:44 PM
  2. How do I prevent users from parking/adding our main domain?
    By Stephanie_R in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 09-22-2005, 02:15 PM
  3. Adding forwarder users to a domain from a script?
    By mrcpu in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 05-19-2005, 01:31 PM
  4. Adding Email accounts using an external script, yet again
    By Pedro Monteiro in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 07-16-2004, 06:20 AM
  5. Adding email users via web
    By Derekb in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 06-05-2003, 12:09 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube