ME020029 - HOWTO: Configuring web mail to automatically log-in


SUMMARY

MailEnable allows you to pass command line arguments to the login page for web mail (or web administration) in order to automatically login.

DETAIL

The URL used to automatically login to web mail is different depending on the platform (ASP/ASP.NET) being used, the version of MailEnable, and whether you are using the web mail as a virtual directory under IIS or as a web site. In the examples below it is assumed that an IIS site is configured for the web mail. In order to modify the URLs to be for the virtual directory, add MEWebmail after the domain part of the URL. All parameters to the URL must be provided in order for the link to work.

NOTE: For version 1 and 2 of MailEnable, the "default" path section in the URL is for the Professional version of MailEnable and "enterprise" is for the Enterprise version. For version 3 and 4 the "HooDoo" path is used. For version 5 and later the "Mondo" path is used.

Version 1:

The ASP version of the MailEnable web client can be configured to automatically login by using the following path syntax:

Syntax:
http://server/base/default/lang/EN/login.asp?LanguageID=EN&UserID=Account&Password=Password&Method=Auto&skin=default

Example:
http://mail.example.com/base/default/lang/EN/login.asp?LanguageID=EN&UserID=James@MailEnable&Password=password&Method=Auto&skin=default

Version 2:

The ASP.NET version of the version 2 MailEnable web client can be configured to automatically login by using the following path syntax:

Syntax:
http://server/default/lang/en/Forms/login.aspx?LanguageID=EN&UserID=Account&Password=Password&Method=Auto&skin=default

Example:
http://mail.example.com/enterprise/lang/en/Forms/login.aspx?LanguageID=EN&UserID=MEDemo@Demonstration&Password=demo&Method=Auto&skin=enterprise

Version 3 and 4:

Version 3 and 4 of MailEnable web client can be configured to automatically login by using the following path syntax:

Syntax:

http://server/Hoodoo/lang/en/login.aspx?LanguageID=EN&UserID=Account&Password=Password&Method=Auto&skin=hoodoo

Example:
http://mail.example.com/Hoodoo/lang/en/login.aspx?LanguageID=EN&UserID=MEDemo@Demonstration&Password=demo&Method=Auto&skin=hoodoo

Version 5 or later:

Version 5 and later of the MailEnable web client can be configured to automatically login by using the following path syntax:

Syntax:

http://server/mondo/lang/sys/login.aspx?LanguageID=EN&UserID=Account&Password=Password&Method=Auto&skin=mondo

Example:
http://mail.example.com/mondo/lang/sys/login.aspx?LanguageID=EN&UserID=MEDemo@Demonstration&Password=demo&Method=Auto&skin=mondo


This page can be made to be the browser start-up page. Also, consider using HTTPS (if there is a certificate installed for the web server). This will avoid passwords being sent to the remote host in clear text.

Note: Early versions of MailEnable 1.x will have problems setting the skin, and graphics will not load properly. This can be resolved either by upgrading to the latest version of MailEnable or, by downloading a hotfix at http://www.mailenable.com/support/hotfixes/login.zip and replacing the current login.zip file.

MORE INFORMATION

With the examples above the timezone from the client and the server are not applied and as such you may find in some situations that the message list for messages is not correct.  This can occur more often when there is a discrepency due to any day light saving offsets.

To overcome this you can add the following to the link with the correct time zone for you logging in client;

offset=-600 (remember the seperator of &)

Example:
http://mail.example.com/mondo/lang/sys/login.aspx?LanguageID=EN&offset=-600&UserID=MEDemo@Demonstration&Password=demo&Method=Auto&skin=monodo

This will pass a time offset of 10 hours for the client to use against the message header when displaying the list of messages.

 



Product: MailEnable
Version: Pro-Any Pro-1.X Ent-Any Ent-1.X
Category:
Module: WebMail
Keywords: webmail auto automate automatically login log-in log in web mail URL
Class: HOWTO: Product Instructions
Created: 9/05/2002 9:38:00 PM
Revision Date:Mon, 18 Apr 2005 17:13:23 -1200