DET email (html logon)
Contents |
Basic HTML @education email logon Page
The following is a simple HTML form that asks for the username and password for @Education.nsw.gov.au email accounts. This allows for logging in directly to webmail, bypassing the portal and it's usage agreement page (saves 2 clicks and about 30 seconds on average).
To use this, copy the displayed text into an empty HTML file (using your chosen editor). Remember to add it as HTML code if using an editor such as Frontpage, otherwise it will be converted to displayed text and won't work.
<form action="https://mail.education.nsw.gov.au/exchweb/bin/auth/owaauth.dll" method="POST">
Username: <input type="text" name="username" value="<username>@education.nsw.gov.au" size="80" /><br />
Password: <input type="password" name="password" size="80" /><br />
<input type="submit" name="submitCreds" value="Log On" />
<input type="hidden" name="destination" value="https://mail.education.nsw.gov.au/exchange" />
<input type="hidden" name="rdoTrusted" value="4" />
<input type="hidden" name="flags" value="4" />
<input type="hidden" name="rdoPublic" value="0" />
</form>
Auto Login
First of all, let me warn of the security risk here... You will be creating a plain text file with your username and password stored IN PLAIN TEXT. Anyone who can get hold of the file will not only be able to open your email, but will also be able to read your username and password by simply viewing the contents of the file.
With that said, here's how to do it. As before, create a plain empty HTML file, and insert this code. This time I have included the HTML, head and body tags myself because of the slightly more complex nature of the code.
You will need to change the username and password for obvious reasons!!!
<html>
<head>
<!-- Below line is a workaround for IE security zone issues -->
<!-- saved from url=(0014)about:internet -->
<noscript>
<meta http-equiv=Refresh content="0; url=http://portal.det.nsw.edu.au">
</noscript>
</head>
<body onload="document.pform.submit(); ">
<form name="pform" action="https://mail.education.nsw.gov.au/exchweb/bin/auth/owaauth.dll" method="POST">
<input type="hidden" name="username" value="your.username@education.nsw.gov.au" />
<input type="hidden" name="password" value="your-password" />
<input type="hidden" name="submitCreds" value="Log On" />
<input type="hidden" name="destination" value="https://mail.education.nsw.gov.au/exchange" />
<input type="hidden" name="rdoTrusted" value="4" />
<input type="hidden" name="flags" value="4" />
<input type="hidden" name="rdoPublic" value="0" />
</form>
</body>
</html>
Idiot proofing of username
The requirement to enter the domain name part of the username is both annoying and confusing to some people. This method uses Javascript to check whether a user has entered the domain part, and add it if they haven't.
Note: This basic script has not be completely tested. One known issue is that it will ONLY check for the @education domain. Any others will still cause it to append the @education domain, which won't work. Not a big deal since it wouldn't allow them in anyway.
<html>
<head>
<!-- Below line is a workaround for IE security zone issues -->
<!-- saved from url=(0014)about:internet -->
<noscript>
Scripting seems disabled. You will need to ensure correct username format yourself.<br>
Please make sure you include "@education.nsw.edu.au" on your username.
</noscript>
<script type="text/javascript" language="JavaScript"><!--
function checkUsername() {
var temp = document.form.username.value;
if(temp.indexOf("@education.nsw.gov.au") < 0) {
document.form.username.value = document.form.username.value + "@education.nsw.gov.au";
}
}
--></script>
</head>
<body>
<form name="form"
action="https://mail.education.nsw.gov.au/exchweb/bin/auth/owaauth.dll"
method="POST"
onsubmit="return checkUsername();">
Username: <input type="username" name="username" size="80"/><br/>
Password: <input type="password" name="password" size="80"/><br/>
<input type="submit" name="submitCreds" value="Log On" />
<input type="hidden" name="destination" value="https://mail.education.nsw.gov.au/exchange" />
<input type="hidden" name="rdoTrusted" value="4" />
<input type="hidden" name="flags" value="4" />
<input type="hidden" name="rdoPublic" value="0" />
</form>
</body>
</html>
Changes required to use for DET webmail
The auto-login and basic form methods can both be used for DET Webmail too. The idiot proof version is not necessary as DET webmail allows straight usernames anyway.
To use these for DET Webmail, simply replace the hostnames (there's 2 places this needs to happen):
mail.education.nsw.gov.au
becomes
webmail.det.nsw.edu.au
If using the basic logon form, you should also remove the prefilled username since it's not really required for that. Simply remove the string "<username>@education.nsw.gov.au" leaving just the quote marks.