How to log into webmail or webadmin automatically


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.

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

Syntax:

https://server/mondo/lang/sys/login.aspx?LanguageID=EN&UserID=Account&Password=Password&Method=Auto&skin=default&offset=-600

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

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. Be aware though that the web server you are connecting to may be logging, which could include the full URL and the authentication details.

MORE INFORMATION

The offset is the offset in minutes from UTC you wish to use, if the mailbox does not have one already set:

offset=-600 (remember the seperator of & when adding to the URL)

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

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 (Pro-Any Pro-1.X Ent-Any Ent-1.X)
Category:Configuration
Article:ME020029
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
Revised:Monday, September 19, 2022
Author:
Publisher:MailEnable