How to create E-mail Users like Cpanel do

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • sriram

    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

  • Jerry Stuckle

    #2
    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@attgl obal.net
    =============== ===

    Comment

    • sriram

      #3
      Re: How to create E-mail Users like Cpanel do

      On May 9, 4:01 pm, Jerry Stuckle <jstuck...@attg lobal.netwrote:
      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...@attgl obal.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

      Comment

      • Captain Paralytic

        #4
        Re: How to create E-mail Users like Cpanel do

        On 9 May, 14:51, sriram <srian...@gmail .comwrote:
        On May 9, 4:01 pm, Jerry Stuckle <jstuck...@attg lobal.netwrote:
        >
        >
        >
        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...@attgl obal.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!

        Comment

        • Rik Wasmus

          #5
          Re: How to create E-mail Users like Cpanel do

          sriram wrote:
          On May 9, 4:01 pm, Jerry Stuckle <jstuck...@attg lobal.netwrote:
          >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]

          Comment

          • sriram

            #6
            Re: How to create E-mail Users like Cpanel do

            On May 9, 8:19 pm, Rik Wasmus <luiheidsgoe... @hotmail.comwro te:
            sriram wrote:
            On May 9, 4:01 pm, Jerry Stuckle <jstuck...@attg lobal.netwrote:
            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

            Comment

            Working...