Jump to content
Sign in to follow this  
escaped_light

Webmail

Recommended Posts

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

Share this post


Link to post
Share on other sites

Try robflavored.com/sqmail that runs over a standard port and shouldnt be blocked by your firewall.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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 by TCH-Robert

Share this post


Link to post
Share on other sites

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.

Sign in to follow this  

×
×
  • Create New...