How to create E-mail Users like Cpanel do

This is a discussion on How to create E-mail Users like Cpanel do within the PHP Language forums, part of the PHP Programming Forums category; Dear All, In my project users have to create their own email id in my website, in my server package ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 3 Days Ago
sriram
 
Posts: n/a
Default How to create E-mail Users like Cpanel do

Dear All,

In my project users have to create their own email id in my website,
in my server package we can create unlimited mail ids. Now the problem
is how to create an email id in the server using PHP code, Plesk was
developed in php and they can create email ids, the same thing i want
to do with my code.

My server is in Linux host

Thanx in advance

Regards,
Sriram

Reply With Quote
  #2 (permalink)  
Old 3 Days Ago
Jerry Stuckle
 
Posts: n/a
Default Re: How to create E-mail Users like Cpanel do

sriram wrote:
> Dear All,
>
> In my project users have to create their own email id in my website,
> in my server package we can create unlimited mail ids. Now the problem
> is how to create an email id in the server using PHP code, Plesk was
> developed in php and they can create email ids, the same thing i want
> to do with my code.
>
> My server is in Linux host
>
> Thanx in advance
>
> Regards,
> Sriram
>
>


It depends on how your host defines its email users. Chances are you
won't be able to do it yourself - certain modules in CPanel have
additional privileges which you don't have.

I guess you could use cURL to interface to CPanel to do it.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

Reply With Quote
  #3 (permalink)  
Old 3 Days Ago
sriram
 
Posts: n/a
Default Re: How to create E-mail Users like Cpanel do

On May 9, 4:01 pm, Jerry Stuckle <jstuck...@attglobal.net> wrote:
> sriram wrote:
> > Dear All,

>
> > In my project users have to create their own email id in my website,
> > in my server package we can create unlimited mail ids. Now the problem
> > is how to create an email id in the server using PHP code, Plesk was
> > developed in php and they can create email ids, the same thing i want
> > to do with my code.

>
> > My server is in Linux host

>
> > Thanx in advance

>
> > Regards,
> > Sriram

>
> It depends on how your host defines its email users. Chances are you
> won't be able to do it yourself - certain modules in CPanel have
> additional privileges which you don't have.
>
> I guess you could use cURL to interface to CPanel to do it.
>
> --
> ==================
> Remove the "x" from my email address
> Jerry Stuckle
> JDS Computer Training Corp.
> jstuck...@attglobal.net
> ==================


Ok thanx but the problem here is service provider not using CPanel
they using some other Control Panel which was developed in .NET

What shall i do now? Pl help

Regards,
Sriram
Reply With Quote
  #4 (permalink)  
Old 3 Days Ago
Captain Paralytic
 
Posts: n/a
Default Re: How to create E-mail Users like Cpanel do

On 9 May, 14:51, sriram <srian...@gmail.com> wrote:
> On May 9, 4:01 pm, Jerry Stuckle <jstuck...@attglobal.net> wrote:
>
>
>
> > sriram wrote:
> > > Dear All,

>
> > > In my project users have to create their own email id in my website,
> > > in my server package we can create unlimited mail ids. Now the problem
> > > is how to create an email id in the server using PHP code, Plesk was
> > > developed in php and they can create email ids, the same thing i want
> > > to do with my code.

>
> > > My server is in Linux host

>
> > > Thanx in advance

>
> > > Regards,
> > > Sriram

>
> > It depends on how your host defines its email users. Chances are you
> > won't be able to do it yourself - certain modules in CPanel have
> > additional privileges which you don't have.

>
> > I guess you could use cURL to interface to CPanel to do it.

>
> > --
> > ==================
> > Remove the "x" from my email address
> > Jerry Stuckle
> > JDS Computer Training Corp.
> > jstuck...@attglobal.net
> > ==================

>
> Ok thanx but the problem here is service provider not using CPanel
> they using some other Control Panel which was developed in .NET
>
> What shall i do now? Pl help
>
> Regards,
> Sriram


Duh, use cURL to interface to "some other Control Panel" to do it!

I would have thought that was obvious!
Reply With Quote
  #5 (permalink)  
Old 3 Days Ago
Rik Wasmus
 
Posts: n/a
Default Re: How to create E-mail Users like Cpanel do

sriram wrote:
> On May 9, 4:01 pm, Jerry Stuckle <jstuck...@attglobal.net> wrote:
>> sriram wrote:
>>> Dear All,
>>> In my project users have to create their own email id in my website,
>>> in my server package we can create unlimited mail ids. Now the problem
>>> is how to create an email id in the server using PHP code, Plesk was
>>> developed in php and they can create email ids, the same thing i want
>>> to do with my code.
>>> My server is in Linux host
>>> Thanx in advance
>>> Regards,
>>> Sriram

>> It depends on how your host defines its email users. Chances are you
>> won't be able to do it yourself - certain modules in CPanel have
>> additional privileges which you don't have.
>>
>> I guess you could use cURL to interface to CPanel to do it.
>>

>
> Ok thanx but the problem here is service provider not using CPanel
> they using some other Control Panel which was developed in .NET


First of all, ask the builders of that 'other Control Panel' wether or
not they have an interface meant for this purpose. Plesk for instance
has one.

If not, you'll have to check you HTTP traffic (and GET/COOKIE/POST
vluaes) on 'manual' alterations and try to mimic those with cURL as said
before.
--
Rik Wasmus
[SPAM]
Now looking for some smaller projects to work on to fund a bigger one
with delayed pay. If interested, mail rik at rwasmus.nl
[/SPAM]
Reply With Quote
  #6 (permalink)  
Old 1 Day Ago
sriram
 
Posts: n/a
Default Re: How to create E-mail Users like Cpanel do

On May 9, 8:19 pm, Rik Wasmus <luiheidsgoe...@hotmail.com> wrote:
> sriram wrote:
> > On May 9, 4:01 pm, Jerry Stuckle <jstuck...@attglobal.net> wrote:
> >> sriram wrote:
> >>> Dear All,
> >>> In my project users have to create their own email id in my website,
> >>> in my server package we can create unlimited mail ids. Now the problem
> >>> is how to create an email id in the server using PHP code, Plesk was
> >>> developed in php and they can create email ids, the same thing i want
> >>> to do with my code.
> >>> My server is in Linux host
> >>> Thanx in advance
> >>> Regards,
> >>> Sriram
> >> It depends on how your host defines its email users. Chances are you
> >> won't be able to do it yourself - certain modules in CPanel have
> >> additional privileges which you don't have.

>
> >> I guess you could use cURL to interface to CPanel to do it.

>
> > Ok thanx but the problem here is service provider not using CPanel
> > they using some other Control Panel which was developed in .NET

>
> First of all, ask the builders of that 'other Control Panel' wether or
> not they have an interface meant for this purpose. Plesk for instance
> has one.
>
> If not, you'll have to check you HTTP traffic (and GET/COOKIE/POST
> vluaes) on 'manual' alterations and try to mimic those with cURL as said
> before.
> --
> Rik Wasmus
> [SPAM]
> Now looking for some smaller projects to work on to fund a bigger one
> with delayed pay. If interested, mail rik at rwasmus.nl
> [/SPAM]


Ok Wasmus, will go in your way and let you know. Thanx

Regards,
Sriram
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:27 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0