Email Script:)

The script is /scripts/addpop and takes the following variables:

/scripts/addpop password quota

Let’s say you have a domain and want to create an email account admin with a password h@ppyt1m3 and a quota of 1000 MB, you’d do:

/scripts/addpop h@ppyt1m3 1000

This script will create a working email account that will show up in cPanel > Email Accounts area.

/scripts/delpop email ID to delete the email account from cPanel server.



SMTP Authenticated script





/* mail setup recipients, subject etc */


$recipients = ““;


$headers[“From”] =“”;


$headers[“Return-Path”] = ““;


$headers[“To”] = ““;


$headers[“Subject”] = “THis is a Test Mail via SMTP AUTH”;


$mailmsg = “THis is a Test Mail via SMTP AUTH”;


/* SMTP server name, port, user/passwd */


$smtpinfo[“host”] = ““;


$smtpinfo[“port”] = “25”;


$smtpinfo[“auth”] = true;


$smtpinfo[“username”] = ““;


$smtpinfo[“password”] = “gnu300a7”;


/* Create the mail object using the Mail::factory method */


$mail_object =& Mail::factory(“smtp”, $smtpinfo);


/* Ok send mail */


$mail_object->send($recipients, $headers, $mailmsg);


echo “Mail successfully sent”



On verification we could see that you are using localhost to relay mails in your script which means from the IP “” relay from our server which can not be verified as a good mail by any server.

Please use script using mail relays through mail box to get good reputation and spf verified mails .

I have added a simple smtp mailbox authenticated scripts under your domain and send mails to our gmail account, which delivered on inbox.

Kindly verify the link pasted below to verify the same. The mails are relying through the mailbox of mail id “” which i created under your cpanel.