I replied to Jeff off-list on this topic, but figured others may need the
answer as well. So here it is....
You can achieve this with a hidden form and a javascript to auto-submit the
form ;-) See the source below...
<html>
<head></head>
<script language="JavaScript"><!--
function submitForm() {document.myform.submit();}
//--></script>
<body onLoad="submitForm();">
<form method="POST" action="http://www.mywebmailserver.com/login.cgi"
name="myform">
<input type="hidden" name="page" value="login">
<input type="hidden" name="userid" value="myusername">
<input type="hidden" name="passwd" value="mypassword">
</form>
</body>
</html>
All you need to do is dynamically change the values of the hidden form
fields(via ASP, Perl, CGI, etc etc) and update the servername to whatever
your web interface is set to
listen on.
Hope this helps!
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jeff Marsh
Sent: Monday, January 10, 2000 5:31 PM
To: '[EMAIL PROTECTED]'
Subject: [IMail Forum] IMail and ColdFusion
Hi,
I have a ColdFusion app that requires the user to login with a username and
password. Once logged in, the user can click a link to check their email.
Currently, I programmatically enter their username and password in the Imail
login web messaging page and submit it. This causes an ugly screen flash in
the browser window; and if there is a delay in contacting the mail server,
the user could get a chance to intract with the login page. I'm looking for
a way to bypass the login page altogether, but still get the user logged in
to the IMail web messaging. Do you know of a way to do that - CF custom tag,
ASP script, dll, anything?
The idea is to seamlessly integrate the IMail web messaging front end into
my ColdFusion app. Thanks.
--
Jeffrey Marsh
GeoAgents.com
Web Development Team
360-754-8828 x110
[EMAIL PROTECTED]
http://www.geoagents.com
Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.
Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.