Mobile Interface - Auto Redirect
Idea shared by Nicolas Le Merle - November 9, 2014 at 2:23 PM
Proposed
Hey Guys,
 
Could you kindly implement an auto redirect feature for mobile devices? As it stands this is not immediately available i don't think. Users have to manually click on the 'Switch to the mobile interface' link which can be hard to see when on a mobile device.
 
Anyway, I managed to come up with a 'temp solution' if anyone is interested :)
 
1. Make a copy of the MRS folder and call it 'SmarterMailMobile' if you like
C:\Program Files (x86)\SmarterTools\SmarterMail\SmarterMailMobile
2. Create a new site in IIS and make the above the root folder for that site.
3. In your already existing IIS site, add the following to your web.config file
<rule name="Mobile Rewrite" patternSyntax="ECMAScript" stopProcessing="true">

    <match url=".*" ignoreCase="true" negate="false" />

    <conditions logicalGrouping="MatchAny" trackAllCaptures="false">

        <add input="{HTTP_USER_AGENT}" pattern="midp|mobile|phone" />

        <add input="{HTTP_X-Device-User-Agent}" pattern="midp|mobile|phone" />

        <add input="{HTTP_X-OperaMini-Phone-UA}" pattern="midp|mobile|phone" />

    </conditions>

    <action type="Redirect" url="https://www.MyDomain.com/SmarterMailMobile/Mobile/Login.aspx" appendQueryString="false" redirectType="Found" />

</rule>
 
And that's it ! Now when users browse to your default webmail site on their mobile they will be redirected to the new sites mobile interface.
 
You wont be able to simply just add the rule to your default sites web.config as you will get stuck into a redirect loop. Creating a new directly allows you to have a new web.config without the redirect so no loop :)
 
NB: Remember to update the mobile folder when you update your software.
 
Hope this helps some guys out :)
 
Cheers,
Nic

8 Replies

Reply to Thread
1
Andrea Rogers Replied
Employee Post
Hello Nicolas,
 
Thank you for request and for providing the workaround as well. The mobile interface was originally created for older smartphones with much smaller screens. More recent smartphones generally come with robust apps for email, calendar and contacts. You can use free protocols, including IMAP, CalDAV and CardDAV, to easily sync with your SmarterMail account. This will allow your data to sync directly to your phone, without needing to go through the Web browser. More information on the many syncing methods available can be found in the help article: Synchronizing with SmarterMail
Andrea Rogers 
Communications Specialist 
SmarterTools Inc. 
(877) 357-6278 
www.smartertools.com
1
Can this please be added to the feature request list?
5
Andrea,
 
There are many good reasons that some organizations do NOT want secure, protected, and regulated company data to actually sync to a mobile device. Lose that device (or it gets stolen) and you have major potential problems.
 
Accessing that device through the mobile interface solves the problem. Data does not reside on the mobile device, but it only viewing after proper authentication. So, for many like me, your suggestion to use the many sync protocols available to us does not solve our issues.
 
Please do all you can to promote a proper mobile app that will make SM much easier for organizations like us to use the mobile version.
 
Thanks.
7
Delete the mobile version and make the web mail app *RESPONSIVE* ! 
1
Having worked with several organizations on responsive websites (my own not included at this point, but purely due to time-constraints and commitments to business and home projects), the conversation of an existing site, especially one with customizable interfaces and features, is not as simple as modifying some CSS code to change color, or telling the code that pictures and images can now be made resizable.  Delving into the SmarterMail code, this task appears to be significantly more daunting than an average, or "normal" website.
 
Being one of those who voted this up, I can also see where this would put SmarterMail at the top of the branding game, too.  Now that we are both allowed to use, and can, without violation of copyright contract, make CSS changes to SmarterMail code for branding purposes, I would think this idea needs to be put in front of the development and management team at SmarterMail so that it can be properly vetted in a manner which will continue to bring the benefits of SmarterMail to customers and not just throw a responsive version out to the world.
 
Remember, sudden major changes bring incredible support headaches for all involved.  Given some of the major companies running SmarterMail, this could become both a logistics, and technical, nightmare as a responsive version is pushed.
 
While I understand the frustration, I also believe we should all err on the side of good planning and programming. 
Bruce Barnes
ChicagoNetTech Inc
brucecnt@comcast.net

Phonr: (773) 491-9019
Phone: (224) 444-0169

E-Mail and DNS Security Specialist
Network Security Specialist

Customer Service Portal: https://portal.chicagonettech.com
Website: https://www.ChicagoNetTech.com
Security Blog: http://networkbastion.blogspot.com/

Web and E-Mail Hosting, E-Mail Security and Consulting
2
Bruce, good points indeed.  A complete redesign with a responsive theme could take a year or more.
 
Here's a simple fix -- just hide the folder pane when someone logs in with a mobile device. I tried it on my smartphone and it's nearly usable in landscape mode.  Drop the nav bar, message checkbox, and message flags and you have something.
 
If the phone is in portrait mode, put the preview window at the bottom instead of the on the side.  Some of these customizations can be done already in Settings.  Maybe allow the user to create a desktop and mobile profile.
 
Kevin
2
Now that all the bugs are out of the way, wondering what's on the road map for the next version of SmarterMail.  Maybe ST could post something?
 
I'd like to suggest improvements with the web interface (not the mobile interface that was designed for older phones & small screens). Enhance the current UI to work better on tablets and larger screen smartphones which are definitely the trend.
 
The solution is to make it responsive as described above, but this could take a while. How about some small steps to make it more usable? Basically, focus on less width. Here's a simple first step:
 
Move the nav bar icons from on the left to the open space across the top. If necessary, drop a few or put them in an overflow button.  This would use less width and put Settings in the upper-right which seems to be the standard location nowadays.
 
Thanks,
Kevin
1
The though of having a calendar API, and being able to embed a calendar into a website, along the lines of embedding a Google calendar, is quite a carrot to dangle on a stick.
 
Hope this is available soon!
Bruce Barnes
ChicagoNetTech Inc
brucecnt@comcast.net

Phonr: (773) 491-9019
Phone: (224) 444-0169

E-Mail and DNS Security Specialist
Network Security Specialist

Customer Service Portal: https://portal.chicagonettech.com
Website: https://www.ChicagoNetTech.com
Security Blog: http://networkbastion.blogspot.com/

Web and E-Mail Hosting, E-Mail Security and Consulting

Reply to Thread