#1 (permalink)  
Old 08-19-2003, 06:15 PM
Registered User
 
Join Date: Oct 2002
Posts: 132
khoonchee
web form for webmail

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 09-16-2003, 12:20 PM
Registered User
 
Join Date: Mar 2003
Posts: 20
WhiteCollar
RE: web form for webmail

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:
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 09-16-2003, 12:28 PM
Registered User
 
Join Date: Feb 2003
Location: Sachse, TX
Posts: 567
tAzMaNiAc
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:
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 09-16-2003, 06:46 PM
cyon's Avatar
Registered User
 
Join Date: Jan 2003
Posts: 307
cyon
here u go:

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>
cPanel.net Support Ticket Number:
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 07-08-2009, 06:02 PM
Registered User
 
Join Date: Jul 2009
Posts: 1
griever64 is on a distinguished road
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 06:04 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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

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



All times are GMT -5. The time now is 11:42 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© cPanel Inc