Skip to content

Ashish882/cpanel-email-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cpanel-email-generator

Generate Unlimted Email account From Cpanel

This Script is tested in cPanel & WHM Version 78

With this script you are able to:--

Generate new mail accounts in bulk


How to use Script:--

1. Changes following variables values in genemail.php:--

$cdomain = 'yourdomain.com'; Your Cpanel domain without port 2082
$cusername='CPANEL_USERNAME'; Cpanel user Name
$cpass='CPANEL_PASSWORD'; Cpanel Password
$domain ='yoursite.com'; Domain from which you have to Generate emails From Cpanel
$epass ='emailpass'; Password for all email id you can modify script if you want diffrent password for each Email id
$equota = '20'; Email quota in mb

After changing the value save this file


2. Create a file of email.txt
Enter the email name you want to generate from your Cpanel

Note:-- The file email.txt should follow the format one line each email name ", space" sepration is not allowed.

After saving the changes run the script in localhost or in your hosting

How to delete emails account in bulk through Script:--

Edit variables in in deletemail.php

$cdomain = 'yourdomain.com'; Your Cpanel domain without port 2082
$cusername='CPANEL_USERNAME'; Cpanel user Name
$cpass='CPANEL_PASSWORD'; Cpanel Password
$domain ='yoursite.com'; Domain from which you have to delete emails From Cpanel

2. Create a file of delete.txt
Enter the email name you want to delete from your Cpanel

Note:-- The file delete.txt should follow the format one line each email name ", space" sepration is not allowed.

After filling information run the script

About

Create unlimted email account from c panel

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages