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.

createacct ($host,$user, WHERE IS EMAIL?

Discussion in 'E-mail Discussions' started by naox, Aug 1, 2004.

  1. naox

    naox Well-Known Member

    Joined:
    Mar 23, 2004
    Messages:
    70
    Likes Received:
    0
    Trophy Points:
    6
    using remote acces key to cpanel

    $cres = createacct ($host,$user,$accesshash,$usessl,$acctdomain,$acctuser,$acctpass,$acctplan);


    where do I put contact e-mai? Contact e-mail is crusial for contact with clients :eek:
     
  2. fwwebs

    fwwebs Well-Known Member

    Joined:
    Feb 16, 2004
    Messages:
    329
    Likes Received:
    0
    Trophy Points:
    16
    I don't think its in the API. If you write your own call you could add it like so.

    /scripts/wwwacct?remote=1&nohtml=1&username=$username&contactemail=$email&password=$password&domain=$domain&plan=$plan";

    Or consider storing the email along with the other information within a database to make for a more complete script.
     
  3. naox

    naox Well-Known Member

    Joined:
    Mar 23, 2004
    Messages:
    70
    Likes Received:
    0
    Trophy Points:
    6
    thanks. I did, and its working gr8
     
  4. ChadK

    ChadK Registered

    Joined:
    Aug 31, 2004
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    How can we "write your own call" in php?
    Can you provide an example?
     

Share This Page