Jump to content

How To Create Webmail Login Form?


D9Hosting

Recommended Posts

Hi everyone,

I'm looking to create a cPanel webmail login form that allows users to enter their email and password, and then be taken to the webmail admin area.

 

I've created a similar form for cPanel login that works fine:

 

<form id="login2" action="https://server.host.com:2083/login/" method="POST">

Username:
<input name="user2" type="text" id="user2" class="input" />

Password:
<input name="pass2" type="password" id="pass2" class="input" /><

<input class="submitbutton" id="Submit2" type="submit" value="Login Now >>" />
</form>

 

But changing the port to 2096 doesn't work, you just get the normal cPanel pop-up asking for webmail login credentials.

 

Anyone got any ideas for getting the Webmail form to work?

 

Cheers,

Dan

Link to comment
Share on other sites

  • 3 weeks later...

Just to restart this thread again...

 

If I have customers on more than 1 server, then how would I best integrate the webmail login form? I mean, how does the script know which server to interact with to log the customer into there webmail?

 

If anyone has experienced this issue, could you please share?

 

Thanks.

 

Magik

Link to comment
Share on other sites

Just to restart this thread again...

 

If I have customers on more than 1 server, then how would I best integrate the webmail login form? I mean, how does the script know which server to interact with to log the customer into there webmail?

 

If anyone has experienced this issue, could you please share?

 

Thanks.

 

Magik

The php script will take care of that , it doesn't matter in which server your client domain is located .

If you do a good search you will find such a script .

example can be found here (bottom right):

from that form you can login to any server .

http://www.hdmx.com

 

submit a ticket and ask them nicely , i am sure they will give it to you :)

Link to comment
Share on other sites

  • 9 months later...
  • 2 weeks later...

well everyone joe's post is very true just contacted them this evening and already have the code running on my site and it works nice i will also be trying to add to the mod to include the login for WHMCS Billing side instead of having to have multiple login boxes.

Link to comment
Share on other sites

  • 4 months later...
  • 2 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated