create multiple email ids at one go

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,212
13
313
Houston, TX
cPanel Access Level
Root Administrator
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 [email protected] (p/w 123456)
[email protected]
[email protected]
[email protected]
[email protected]
[email protected] (p/w 123456)

please update on this

Thanks & Regards,
Nilesh
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).
 

crazyaboutlinux

Well-Known Member
Nov 3, 2007
939
1
66
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
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,212
13
313
Houston, TX
cPanel Access Level
Root Administrator
yes

.xls file is working properly but .csv is not working its taking default password & unlimited quota
Be sure you set your separator character correctly. Different separator characters are supported, not just commas.

& one more thing same thing can do this from SSH
I'm not currently aware of a method of doing this via SSH.

& if i want those email ids then what to do ?

Nilesh
Can you elaborate by what you mean by this?
 

crazyaboutlinux

Well-Known Member
Nov 3, 2007
939
1
66
Be sure you set your separator character correctly. Different separator characters are supported, not just commas.

please attach demo of the .csv file so i can be sure from my end

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

OK No issues


Can you elaborate by what you mean by this?
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
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,212
13
313
Houston, TX
cPanel Access Level
Root Administrator
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
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.
 

crazyaboutlinux

Well-Known Member
Nov 3, 2007
939
1
66
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.
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
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,212
13
313
Houston, TX
cPanel Access Level
Root Administrator
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
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.