#219 ✓fixcommitted
Alan Schmitt

Address completion: allow the use of a mailbox different from Sent Messages

Reported by Alan Schmitt | January 18th, 2012 @ 09:07 AM

To keep my mail tidy, I move mail I sent out of the Sent Messages mailbox. As Mailmate relies on the messages there to supplement the address completion from the address book, I do not have suggestions for previously emailed addresses.

It would be very useful if I could specify another mailbox in which to search for addresses to complete.

Comments and changes to this ticket

  • benny

    benny January 18th, 2012 @ 10:29 AM

    • State changed from “new” to “accepted”
    • Assigned user set to “benny”
  • benny

    benny January 18th, 2012 @ 11:02 AM

    • State changed from “accepted” to “fixcommitted”

    This is now implemented as a hidden preference item. You can specify the mailbox used as a basis for completions. The default is Sent which is the special value for “Sent Messages”. You can also specify any other mailbox including IMAP mailboxes.

    Examples:

    defaults write com.freron.MailMate MmAddressCompletionMailbox -string "ALL_MESSAGES"
    defaults write com.freron.MailMate MmAddressCompletionMailbox -string "imap://username@imap.example.com/MyKnownRecipients"
    

    A test build is available.

  • Alan Schmitt

    Alan Schmitt January 18th, 2012 @ 01:10 PM

    I just tried it and it works great. Thanks!

  • Erik M-H

    Erik M-H February 19th, 2012 @ 04:33 PM

    Hi, Benny!

    I've just tried this with a newly downloaded beta (2759), but am not sure how to format the string for the smart mailbox I want to use. Its name is of the form [foo bar] and it resides in a mailbox folder of the form [xyzzy] -- square brackets included in both cases.

    I've tried various path- and escape-formations, à la

    "[xyzzy]/[foo bar]"
    "\[xyzzy\]/\[foo\ bar\]"
    

    etc., but no combination seems to yield working address completion. How should I proceed?

  • Alan Schmitt

    Alan Schmitt February 19th, 2012 @ 05:24 PM

    You need to do the same as from here: http://manual.mailmate-app.com/custom_key_bindings#special_actions

    In particular, go to ~/Library/Application Support/Mailboxes.plist to find the UUID of the smart mailbox.

    Hope this helps,

    Alan

  • Erik M-H

    Erik M-H February 19th, 2012 @ 05:43 PM

    That’s just what I needed, Alan — thank you!

    BTW, you accurately quoted the typo in the manual, where MailMate is missing from the path; that is:

    (see ~/Library/Application Support/Mailboxes.plist)
    

    should be

    (see ~/Library/Application Support/MailMate/Mailboxes.plist)
    

    Not that it’s a big deal. Anyway, address completion is working perfectly now. Thanks!

  • benny

    benny March 21st, 2012 @ 04:40 PM

    • State changed from “fixcommitted” to “fixreleased”

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Mac OS X email client.

Shared Ticket Bins

People watching this ticket

Pages