Email Script:)

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

Code:
/scripts/addpop email@domain.com password quota

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

Code:
/scripts/addpop admin@happypanda.com 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

<?php

 

include(“Mail.php”);

 

/* mail setup recipients, subject etc */

 

$recipients = “gundambison@gmail.com“;

 

$headers[“From”] = testmail4us@gmail.com“”;

 

$headers[“Return-Path”] = “testmail4us@gmail.com“;

 

$headers[“To”] = “gundambison@gmail.com“;

 

$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”] = “gmail.com“;

 

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

 

$smtpinfo[“auth”] = true;

 

$smtpinfo[“username”] = “testmail4us@gmail.com“;

 

$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 “127.0.0.1” 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 “test@myclicktoearn.com” which i created under your cpanel.