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.

create multiple email ids at one go

Discussion in 'E-mail Discussions' started by crazyaboutlinux, Mar 21, 2009.

  1. crazyaboutlinux

    crazyaboutlinux Well-Known Member

    Joined:
    Nov 3, 2007
    Messages:
    938
    Likes Received:
    0
    Trophy Points:
    16
    Hi Guys,

    i want to create more than 150 email ids on cPanel server so it would be spend lot of time

    that's why i am asking you one thing

    can i create more than 150 email ids at one go with default password

    e.g test1@domain.com (p/w 123456)
    test2@domain.com
    test3@
    test4@
    test5@
    test150@domain.com (p/w 123456)

    please update on this

    Thanks & Regards,
    Nilesh
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Yes, on cPanel 11.24 and later, you can create a CSV file or Microsoft Excel Spreadsheet with the email address, password, quota etc. and then import it using the "Import Addresses/Forwarders" feature in the Mail section of the cPanel interface (x3 theme).
     
  3. crazyaboutlinux

    crazyaboutlinux Well-Known Member

    Joined:
    Nov 3, 2007
    Messages:
    938
    Likes Received:
    0
    Trophy Points:
    16
    yes

    .xls file is working properly but .csv is not working its taking default password & unlimited quota

    & one more thing same thing can do this from SSH
    & if i want those email ids then what to do ?

    Nilesh
     
  4. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Be sure you set your separator character correctly. Different separator characters are supported, not just commas.

    I'm not currently aware of a method of doing this via SSH.

    Can you elaborate by what you mean by this?
     
  5. crazyaboutlinux

    crazyaboutlinux Well-Known Member

    Joined:
    Nov 3, 2007
    Messages:
    938
    Likes Received:
    0
    Trophy Points:
    16
    it meant that i have created multiple email ids by following your instructions but now my question is suppose i want to delete them ?

    so how can delete multiple email ids ??

    i hope this clear
     
  6. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Via the cPanel interface, you can delete 1 email at a time. You can use our APIs to automate this task for deleting many accounts simultaneously if you desire. If you would like me to help you with our APIs, please let me know. Some basic knowledge of programming is required for you to understand how to use our APIs.
     
  7. crazyaboutlinux

    crazyaboutlinux Well-Known Member

    Joined:
    Nov 3, 2007
    Messages:
    938
    Likes Received:
    0
    Trophy Points:
    16
    yes, i would like to help with you

    first tell me what is APIs ??

    & what you would like to know : Some basic knowledge of programming is required ?

    Regards,
    Nilesh
     
  8. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    You would just use our XML-API to call the API1 function that removes an email address. This API1 function is:

    Code:
    <cpanel Email="delpop[COLOR="RoyalBlue"](email[/COLOR],0,[COLOR="RoyalBlue"]domain[/COLOR])">
    Where email is the portion of the email address before @ and domain is the portion of the email address after @. If you use this API call with an @ sign in any of the parameters, you are using it incorrectly.

    However, since you are likely calling this function outside the cPanel interface, you will need to use the XML API to call it. Documentation for that is available at:

    http://www.cPanel.net/plugins/xmlapi

    Specifically, information on calling API1 functions from the XML API is available at:

    http://cpanel.net/plugins/xmlapi/cpanel.html

    Code samples in various languages on how to use the APIs is available throughout the developers section of these community forums.
     
Loading...

Share This Page