Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

create an email addresses php

//Using Cpanel from StackOverflow
$socket = fsockopen($cpdomain,2082);
$cuser = "YourUserName";
$cpassword = "YourPassword";
$authstr = base64_encode("".$cpuser.":".$cppass."");
$in = "GET /frontend/$cpskin/mail/doaddpop.html?email=$euser&$edomain&password=$epass&quota=$equota
HTTP/1.0
Authorization: Basic $authstr 
";
fputs($socket,$in);
fclose( $socket );
 
PREVIOUS NEXT
Tagged: #create #email #addresses #php
ADD COMMENT
Topic
Name
2+5 =