#149 ✓cantreproduce
Toms

Address Completion

Reported by Toms | June 2nd, 2011 @ 06:53 PM

Address Completion does not work with Version 1.2 (2169) OSX 10.6.7

Comments and changes to this ticket

  • benny

    benny June 2nd, 2011 @ 10:08 PM

    • Assigned user set to “benny”

    Do you use Gmail? I'm just guessing here, but yesterday Google decided to change which mailboxes should be visible via IMAP by default. This may mean that the mailbox for Sent Messages is no longer available in MailMate and thus completion based on sent messages is also going to fail.

    If this is the case then you should go to the Labels section in the settings in the Gmail web interface and make sure the following mailboxes are marked as “Show in IMAP”: Sent Mail, Drafts, Spam, and Trash.

  • Toms

    Toms June 3rd, 2011 @ 12:06 PM

    Well, I do use gmail, via google apps. I also use IMAP via goneo, a german web hoster. I confirmed that the gmail IMAP folder settings are set to visible, and that the 'sent' folders in Mailmate are visible, synchronised and online. I updated mailmate to the latest build (2175). Still no address completion. If you need more data on the system, let me know!

  • benny

    benny June 3rd, 2011 @ 02:47 PM

    One more thing to check: The mailbox type of the mailbox with sent
    messages (look in the context sensitive menu of the mailbox). It should
    (of course) be Sent Messages.

  • Toms

    Toms June 3rd, 2011 @ 03:42 PM

    It is. Another screenshot attached. I checked all of the mail accounts.

  • benny

    benny June 3rd, 2011 @ 08:46 PM

    Thanks. I'm running out of guesses now...

    Could you run the following command (depending on the location of
    MailMate). Currently, you need to quit MailMate before you can do it:

    /Applications/MailMate.app/Contents/SharedSupport/emate query "$Sent"
    

    -f "\${#recipient}" | sort -u

    The result should be a list of known recipients. Each of these should be
    available for completion in the composer (together with entries from the
    Address Book). I'm just interested in knowing whether this set is
    non-empty.

    Next step is probably a version of MailMate providing some debug output.
    This may have to wait a few days.

  • Toms

    Toms June 3rd, 2011 @ 09:02 PM

    It seems I do email a lot of people. The list is definitely non-empty.

  • benny

    benny June 3rd, 2011 @ 09:19 PM

    But still no suggestions appear when you enter something in a recipient
    field in the composer (sorry to ask again, but I simply have no idea as
    to what could go wrong).

  • Toms

    Toms June 3rd, 2011 @ 09:26 PM

    sorry, no. I keep trying, typing known names as well as email addresses, to no effect. I wish I could be more helpful in finding the issue.

    ps.: I am impressed and very grateful for your quick responses. Thank you.

  • benny

    benny June 3rd, 2011 @ 09:32 PM

    Well, chances are that your problem is caused by a bug in MailMate. You
    are helping me as much as I am helping you.

    Looking in the code I realized there is a debug variable for dumping all
    the matches found (which is apparently 0 in your case), but to be sure
    try the following in the Terminal:

    defaults write com.freron.MailMate MmDebugPreviousRecipients -bool YES
    

    Then look in Console.app for any output. It should write “Dumping all
    matches for ...” each time you enter something.

  • Toms

    Toms June 3rd, 2011 @ 09:41 PM

    Indeed. First it throws

    110603 23:37:08 MailMate[61600] 0x1fa98d10: ManagedObjectContext (ABAddressBook) could not create the store at path: - creation error: Error Domain=NSCocoaErrorDomain Code=258 UserInfo=0x14b12f00 "The file name is invalid." {
    NSUnderlyingException = Error validating url for store; } 110603 23:37:08 MailMate[61600] -ABAddressBook failed importing tip cards +entityForName: could not locate an NSManagedObjectModel for entity name 'ABCDContact'

    then

    110603 23:37:09 [0x0-0xedfedf].com.freron.MailMate[61600] Dumping all initially known previous recipients

    followed by a long list of email addresses.

  • benny

    benny June 3rd, 2011 @ 09:48 PM

    Doing a Google search I found:

    https://discussions.apple.com/thread/2041364?start=0&tstart=0
    

    Can you start Address Book with no problems? Is your Address Book in any
    way out of the ordinary?

  • Toms

    Toms June 3rd, 2011 @ 10:10 PM

    Address books starts with no problems. Out of the ordinary — maybe. It is linked to an OSX 10.6.7 CardDav Server. I have quite a few (~20) smart address filters. Total number of contacts ~1300.

    As to the apple discussion thread: I deleted the AddressBook-v22.abcddb file (with address book app not running). On starting to type a recipient address in mailmate the AddressBook-v22.abcddb file is recreated automatically (without starting address book app.). But no autocompletion. Also not after repeatedly sending test messages to myself with same recipient address.

    I did not go so far yet and delete/move my entire Application Support/Addressbook/ folder.

  • benny

    benny June 3rd, 2011 @ 10:18 PM

    The CardDav server may be the problem. I'll look into that later and
    I'll get back to you (may take a few days).

  • benny

    benny October 9th, 2013 @ 09:55 AM

    • State changed from “new” to “cantreproduce”

    Sorry about the lack of response to this old ticket. There has been some fixes in this area, but I'm unsure if this particular case has been improved. Let me know if it is still a problem (if you are still using MailMate).

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