Doesn't open the corresponding email-account

Bug #905423 reported by Alex Solanos
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Unity Mail
Fix Released
Wishlist
Unassigned

Bug Description

Hello and thanks for this useful application!

I have configured 3 e-mail accounts in Unity email, let's say A, B and C.

'A' was the first to configure after I installed the program, B and C followed.

Let's say I have an e-mail sent on B account, I will get notified for this, I will click on the unity icon in my launcher, firefox will come up and will log me in my A account.
To put it in other words, no matter where I have email, my default (1st set) account will be opened instead.

Also, it doesn't open any account (does no action at all) if I click an email from the list provided at the message icon on the top right (http://i.imgur.com/yGOcd.png)

Thanks again!

Revision history for this message
Dmitry Shachnev (mitya57) wrote :

The main reason for not doing this was the goal to keep Unity Mail as lightweight and simple as possible (it's just a notifier, not a mail client!). For example, implementing this would require entering (in your case) 12 different URLs (3 accounts × [Home, Inbox, Compose, Sent URLs]).

The other reason is that an user (in the current implementation) knows which URL/program will be opened and is used to such behaviour, so opening different URLs depending on a case will be a kind of confusing thing.

What I can surely do is an ability to set different inbox URLs via a configuration file and open that URL when clicking on mails in the messaging menu (they will be opened only if such an URL is provided!). I will implement this after I finish some more important tasks :)

Changed in unity-mail:
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
Dmitry Shachnev (mitya57) wrote :

Fixed in bzr.
Now you can specify URLs/commands to open via the configuration file.

1. Open the configuration file (~/.config/unity-mail.conf)
2. If [URLs] section doesn't exist, by appending "[URLs]" to that file
3. Under that section, enter URLs as "Inbox[e-mail] = URL" lines
    - e-mail should be in either "username@imap_server" or "username@imap_server_without_imap_prefix" format
    - URL should be in either a simple "protocol://address" format, or in "Exec:command" format to execute a command (i.e. to open a messaging client or a different web browser)
4. Now clicking on a messaging menu item would open the corresponding URL/command. This won't work for Unity Launcher item for reasons described above.

The fix will make its way to Unity Mail 0.12 release.

Changed in unity-mail:
status: Triaged → Fix Committed
Revision history for this message
Dmitry Shachnev (mitya57) wrote :

* add it by appending "[URLs]" to that file

Revision history for this message
Dmitry Shachnev (mitya57) wrote :

Uploaded the new version to Precise & Oneiric.

Changed in unity-mail:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.