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!

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

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

  1. naox

    naox Well-Known Member

    Joined:
    Mar 23, 2004
    Messages:
    70
    Likes Received:
    0
    Trophy Points:
    156
    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:
    166
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. naox

    naox Well-Known Member

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

    ChadK Registered

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

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