Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

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

#219

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.

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

State: fixreleased
Milestone: none
Assigned to: benny benny

Activity

  1. benny
    benny
    • State changed from new to accepted
    • Assigned user set to benny

    January 18th, 2012 @ 10:29 AM

  2. benny
    benny
    • 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.

    January 18th, 2012 @ 11:02 AM

  3. Alan Schmitt
    Alan Schmitt

    I just tried it and it works great. Thanks!

    January 18th, 2012 @ 01:10 PM

  4. Erik M-H
    Erik M-H

    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?

    February 19th, 2012 @ 04:33 PM

  5. Alan Schmitt
    Alan Schmitt

    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

    February 19th, 2012 @ 05:24 PM

  6. Erik M-H
    Erik M-H

    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!

    February 19th, 2012 @ 05:43 PM

  7. benny
    benny
    • State changed from fixcommitted to fixreleased

    March 21st, 2012 @ 04:40 PM

  8. benny

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.