View Full Version : webmail login box on your site
dear all,
we all should know that powweb offers us webmail access through http://mail.yourdomain.com
what i want to know is, does anyone know how to put the login form directly on your site? i want people to enter their username and password on a page of my site, so that they could go straight to their inbox without having to view the powweb webmail page.
i checked out the html for http://mail.SydneyClubba.org (my site) but the FORM tag only had the method="post" attribute, and not the action="???" attribute!
-az
hi
mines the same no action
try an iframe :)
<iframe src="http://www.google.com" title="mainpage" width="100%"
height="300"marginwidth="10"marginheight="10"align="center"scrolling="yes"
frameborder="1" name="nameofframehere" vspace="0" hspace="30" background-color ="9900ff" NORESIZE:>
</iframe><!-- Alternate content for non-supporting browsers -->
this is set for google but you can just type another address
in where it says http://www.google.com
thanx, but its just not what i was after.
-az
OnTheNet
9-26-02, 12:05 PM
but the FORM tag only had the method="post" attribute, and not the action="???" attribute!
This is what you need to put if the form is on your site: <form method="POST" action="http://webmail.powweb.com/">
I ran this page from my site and I was able to log into the webmail server.
<html><head></head>
<body>
<pre>Sign in to PowWeb WebMail.
If your domain is abc.com, then your hostname is mail.abc.com.
</pre>
<form method="POST" action="http://webmail.powweb.com/">
Hostname: <input size="25" name="server"><br>
Username: <input size="12" name="username"><br>
Password: <input type="password" size="12" value name="password"><br>
<input type="hidden" value="login" name="action">
<input type="submit" value="Login">
</form>
</body>
</html>
thank you very much. that was exactly what i wanted to know.
-az
dispatcher
10-4-02, 03:09 PM
Improved login (assuming all are on one server)
----------------------------------------------
<pre>Sign in to our WebMail.
Be sure to use your USER name,
not the email address!
"dave56554" not "dave@yoursite.com"
</pre>
<form method="POST" action="http://webmail.powweb.com/">
<INPUT type="hidden" NAME="server" VALUE="mail.yoursite.com">
Username: <input size="12" name="username"><br>
Password: <input type="password" size="12" value name="password"><br>
<input type="hidden" value="login" name="action">
<input type="submit" value="Login">
</form>
----------------------------------------------------------
Bob@4driver.com
Berek Halfhand
10-11-02, 12:16 AM
How about one for logging into a phpBB from a seperate webpage.
jcoates
10-11-02, 10:31 AM
[QUOTE]Originally posted by dispatcher
[B]Improved login (assuming all are on one server)
----------------------------------------------
<pre>Sign in to our WebMail.
Be sure to use your USER name,
not the email address!
"dave56554" not "dave@yoursite.com"
</pre>
<form method="POST" action="http://webmail.powweb.com/">
<INPUT type="hidden" NAME="server" VALUE="mail.yoursite.com">
Username: <input size="12" name="username"><br>
Password: <input type="password" size="12" value name="password"><br>
<input type="hidden" value="login" name="action">
<input type="submit" value="Login">
</form>
----------------------------------------------------------
So...if I understand this correctly, I can add a new page to my site: Members Email Page, or what ever. Include the above code, with my normal layout, colors and what not. And users will be able to access their webmail inbox without seeing powweb?
dispatcher
10-11-02, 10:37 AM
Sort of.....
1. If they put in an incorrect name/password it defaults to powwebs page
2. The internal stuff is still standard powweb
it just gets around the powweb login page
you could put it in a frame, to give the regular powweb webmail pages your stuff around it
But it makes a nice little login box on a member page
Bob
jcoates
10-11-02, 10:42 AM
Could I just do frames on these pages?
I don't do frames on my site currently.
Thanks
dispatcher
10-11-02, 10:47 AM
You could just frame that one page
call it webmail.htm
and put the frameset code there
Or there's <IFRAME>
or as a popup window - your page is still there in the background
Bob
BAD-ASS-CJ
11-3-02, 05:36 PM
How would you put a nice little box around the log-in area, so i would have just some text on the page?
dispatcher
11-3-02, 06:01 PM
Just put this together - not tested :(
-- page1.htm -
<HTML>
<BODY>
<!-- PUT YOUR HEADER STUFF HERE -->
<iframe SRC="http://yoursite.com/page2.htm" NAME="webmail"
WIDTH="600" HEIGHT="300" ALIGN="center" >
You will not see this text if your browser supports IFRAME.
Or put a link to page2.htm
</iframe>
</body>
</HTML>
-- page2.htm -
<HTML>
<BODY>
<table width = "300" Height ="200" align = "center" valign="top" borders="3" >
<TR>
<TD>
Sign in to our WebMail.
Be sure to use your USER name,
not the email address!
"dave56554" not "dave@yoursite.com"
<form method="POST" action="http://webmail.powweb.com/">
<INPUT type="hidden" NAME="server" VALUE="mail.yoursite.com">
Username: <input size="12" name="username"><br>
Password: <input type="password" size="12" value name="password"><br>
<input type="hidden" value="login" name="action">
<input type="submit" value="Login">
</form>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>
Bob
zeroseven
11-4-02, 01:06 AM
haha, you can check out my little log in page :D
http://www.07studios.com/mail/07/
The coding of the Log in part looks like:
<table width="700" height="270" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="10" align="left" valign="top"></td>
<td width="690" align="left" valign="top"><br>
<br>
<br><form action="http://webmail.powweb.com/" method="post">
<table width="400" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="69" align="right"><div align="left"><font face="Verdana" size="1">Hostname:</font></div></td>
<td width="322"><input name="server" size=35 value="mail.07studios.com"></td>
</tr>
<tr>
<td align="right"><div align="left"><font face="Verdana" size="1">Username:</font></div></td>
<td><input name="username" size=35></td>
</tr>
<tr>
<td align="right"><div align="left"><font face="Verdana" size="1">Password:</font></div></td>
<td><input type="password" name="password" size=35></td>
</tr>
<tr>
<td aling="right"><div align="left">
<input type="hidden" name="action" value="login">
</div></td>
<td><input type="submit" value="Login"></td>
</tr>
</table>
</form>
</td>
</tr>
</table>
Of course you would probably want to take out the default text I have in the Username field... I'm the only one who uses that page, so it just saves me time :D
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.