escaped_light Posted February 27, 2004 Posted February 27, 2004 I'm pretty sure that this is entirely possible, but I am just a beginner alas. I cannot access my webmail (or Cpanel) from work or school because of their firewall, and I'm sure that this would be a problem when it comes to other places as well. Sooo, I would like to set up something more like hotmail, where people (inc. myself) I give addresses to, could go (without the whole port number thing... ie.. webmail.robflavored.com) to check their email. I'm guessing this is very complex, but do-able. Plus i would like to customize the look of it. I'm sure that PHP has the capabilities to access the email accounts, but I'm not even sure where to start looking for this kind of information. Perhaps there is some already built thing out there that is completely customizable. Thanks for any help you can offer, Robert Quote
TCH-Dick Posted February 27, 2004 Posted February 27, 2004 Try robflavored.com/sqmail that runs over a standard port and shouldnt be blocked by your firewall. Quote
TCH-Don Posted February 27, 2004 Posted February 27, 2004 Yep Sqmail works behind corp firewall just fine Quote
escaped_light Posted February 27, 2004 Author Posted February 27, 2004 Cool! It worked. I'm still curious about customizing it a bit. Even if I could just somehow integrate the login screen into site somehow, and then just have it pop-up a new window with the inbox. Not overly important, but something I would like to consider. Thanks! Robert Quote
DarqFlare Posted February 27, 2004 Posted February 27, 2004 (edited) You're going to want to use the Embedded SquirrelMail Login.. Which I, coincidentally, have... here is an example of my coding. This is a line I've got in my login page to include a JS. ><script language="Javascript" src="/includes/javascript/email.js"></script> And here is the contents of that JS file: >function squirrelmail_loginpage_onload() { document.forms[0].js_autodetect_results.value = '1'; } Note that it doesn't have to be a separate JS file containing the javascript. I just do it that way for organizational sake. I always put JS into files. Now here is my login form: ><form action="http://www.****/sqmail/src/redirect.php" method="post" target="_blank"> Email Address: <input type="text" name="login_username" /><br /> Password: <input type="password" name="secretkey" /><br /> <input type="hidden" name="js_autodetect_results" value="0"><input type="submit" name="Submit" value="Login" /></form> Make sure to have the target in the form field to get it into a new window. make sure to replace www.**** in the form field to whatever your domain is. Edited February 27, 2004 by TCH-Robert Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.