Hi,
Is it possible to place a form in website in order to have users to access their webmail? It doesn't matter which webmail rather than using the domain.com/webmail or domain.com:2095
THanks !
cPanel.net Support Ticket Number:
Hi,
Is it possible to place a form in website in order to have users to access their webmail? It doesn't matter which webmail rather than using the domain.com/webmail or domain.com:2095
THanks !
cPanel.net Support Ticket Number:
Best Regards,
Andy
Dear khoonchee,
Yes, you can access webmail from an hyperlink placed in any html file.
Place this sample code in your index.html file to access mail using horde:
<a href=\"http://yourdomain:2095/horde/index.php\">
Mail</a>
Regards,
cPanel.net Support Ticket Number:
WhiteCollar:
I don't think you read it correctly.
He must have wanted to do a login somewhere on his page, which would then "auto populate" and login into the desired webmail.
Brenden
cPanel.net Support Ticket Number:
here u go:
cPanel.net Support Ticket Number:Code:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title></title> <script language="javascript"> <!-- Begin function Login(form) { var username = form.username.value; var password = form.password.value; var server = form.server.value; if (username && password && server) { var mail = "http://" + username + "+" + server + ":" + password + "@" + server + ":2095/horde/index.php"; window.location = mail; } else { alert("Please enter username and password."); } } // End --> </script> <link href="../css/style.css" rel="stylesheet" type="text/css"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <body> <form name=login> <table border=0 cellpadding=5 cellspacing="0"> <tr> <td class="text">Username:</td> <td> <input type=text name=username size=15 maxlength="26"> <span class="text">@</span> <input type="text" name="server" maxlength="65" size="15"> </td> </tr> <tr> <td class="text">Password:</td> <td> <input type=password name=password size=20> </td> </tr> <tr> <td colspan=2> <input type=button value="Login" onClick="Login(this.form)" name="button"> </td> </tr> </table> </form> </body> </html>
hey nice post anyway i got question...im very new with some webform stuff i would appreciate your help if you could explain more on were to put the information needed like mail domain etc...
also i just want to have
Username:
Password:
without the "@" in between.
i also want to replace "horde" to "roundcube"
// Thanks in advance
Last edited by griever64; 07-08-2009 at 05:04 PM.