SmarterMail 15.x Help
This documentation is for a product that is no longer supported by SmarterTools.

Automating LogIn to SmarterMail

The HTML code below demonstrates how you can make a text link (e.g. "Log into your mail") that automatically logs a user in to the SmarterMail application. By putting a hidden form on a simple web page, you can fill in the "Email Address", and "Password" information either via hard coding the data or through a scripting language like ASP, ASP.Net, or ColdFusion.

For the example code listed below, we have the form values set to generic text (e.g. "Actual_Email_Address_Here") to show where you would hard code values that are submitted to the login.aspx page. You could also dynamically generate these values using a scripting language like ASP or ColdFusion (a sample ASP script would substitute value="Actual_Email_Address_Here" with value=<% =email %>). The form action shown ( uses the default location of the Smartermail Web Interface. If you have created a separate web site for Smartermail, or assign a different IP address for Smartermail within IIS, this action would have to be altered to reflect this change. This example demonstrates how easy and powerful the Smartermail application is in allowing companies to automate entry into the mail application.


<meta http-equiv=
"Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Smartermail Login</title>


function GoToMail() {



<form name="mailform" action="" method="post">
<input type="hidden" name="shortcutLink" value="autologin" id="shortcutLink">
<input type="hidden" name="email" id="email" value="Actual_Email_Address_Here">
<input type="hidden" name="password" id="password" value="Actual_Password_Here">

<p><a href="JavaScript:GoToMail()">Log into your mail</a></p>