#909 new
David Enzel

Can't send emails using Google Apps Account with app specific password

Reported by David Enzel | September 25th, 2014 @ 01:23 AM

I am brand new to Mailmate as of today. I like it. I many times cannot send email on my Google Apps account. Google rejects the password sometimes but not always. I generated a new app specific password and it worked once and then the problem started again. This is not happening in Mail app or on my Fastmail account. I saw other reports of this here but did not see a resolution.

Comments and changes to this ticket

  • benny

    benny September 25th, 2014 @ 12:10 PM

    First try the latest test version of MailMate: Hold down ⌥ when clicking “Check Now” in the Software Update preferences pane. I don't really think it makes a different, but I need to be sure before doing further debugging.

  • David Enzel

    David Enzel September 25th, 2014 @ 12:55 PM

    Thanks for responding. I have Mailmate 3905. My Google Apps account still won't connect. Again, I am using an application specific password. It works fine in Mail.app. Also, when I imported my email accounts in Mailmate it did not import my iCloud account which I also wanted to import. I really like Mailmate and if I can get it to work for me I will buy it. I took to it immediately.

    Thanks again.

  • benny

    benny September 25th, 2014 @ 01:04 PM

    You should get r4469 if you do as described: Hold down ⌥ when clicking “Check Now” in the Software Update preferences pane.

    Yes, iCloud accounts are not currently automatically imported since they are now stored differently by Apple Mail (there is no official API for doing this import). I should improve this, but for now you can do it manually using “File ▸ Add IMAP Account...” and the settings here.

  • David Enzel

    David Enzel September 25th, 2014 @ 01:33 PM

    OK. I downloaded the new version of Mailmate. I created a new app specific password and it worked. Then when I tried to send an email from my Google Apps account it did not go through and I got the following error message:

    Unexpected return code 535 (expected 235):
    “5.7.8 Username and Password not accepted. Learn more at 5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 h2sm2029026qah.35 - gsmtp”.

  • benny

    benny September 25th, 2014 @ 01:38 PM

    If I follow the link then it does look like Gmail is now blocking some email clients: https://support.google.com/accounts/answer/6010255

    Could you try the advice described (allow less secure email clients). If it works then I'll research why Google thinks MailMate (and Outlook and Thunderbird) are insecure.

  • David Enzel

    David Enzel September 25th, 2014 @ 01:41 PM

    I tried that.
    The Google pages states as follows:

    "This setting is not available for Google Apps accounts, it is only available for Google Accounts." It looks like I can't use your app with my Google Apps account. The account works fine in Mail.app.

  • benny

    benny September 25th, 2014 @ 02:57 PM

    Thanks for trying. I'm still not sure exactly what limitations Google is implementing, but it's not being well received by the Thunderbird developers. Also, since you can login once then it may be a different issue (or a MailMate bug).

    I would also expect more reports about this issue if all Google Apps users have the same issue. Is your account recently created or is it an old one?

    We can take MailMate out of the equation by using the Terminal window to log in:

    openssl s_client -connect imap.gmail.com:993 -crlf

    Then when prompt is shown:

    0 login you@example.com password

    With your email address and application specific password.

    To logout nicely:

    0 logout

    You can then also test if you can do this twice.

  • David Enzel

    David Enzel September 25th, 2014 @ 05:40 PM

    I am not sure what to do. My plan is to move from Gmail to Fastmail. Maybe I will just use Mailmate with Fastmail and use Gmail on the web if I need it. I have already imported all my Gmails into Fastmail.

    Any thoughts?

    The terminial thing is too technical for me. Makes me nervous.

    My Google Apps account is over a year old.

  • benny

    benny September 25th, 2014 @ 06:54 PM

    • State changed from “new” to “accepted”

    Fair enough. Fastmail is certainly going to work and, in my opinion, much better than Gmail.

    If the problem with Gmail is that they now require a different authentication method (OAuth 2.0) then I'll probably have to implement it at some point. I'll leave this ticket open for progress on that issue.

  • David Enzel

    David Enzel September 25th, 2014 @ 09:05 PM

    If you wouldn't mind, may I ask if there is email provider you would recommend over Fastmail? You know a lot more about email than I do :).

  • benny

    benny September 26th, 2014 @ 07:44 AM

    Fastmail is a good choice. I wrote about alternatives here.

  • Jon Garrison

    Jon Garrison October 1st, 2014 @ 09:22 PM

    Quick data point, I am using an app specific password with google apps (for business) without issue. Happy to check anything else that might be a variable.

  • benny

    benny October 1st, 2014 @ 09:40 PM

    @Jon: Thanks. It'll be fine if you can just enable “watching” this ticket such that you are notified if more users show up with the same problem as David.

    With respect to an alternative login method for Gmail. I've looked into it and maybe it won't be as hard to implement as I first thought, but I haven't actually tried yet.

  • O'Shaughnessy Evans

    O'Shaughnessy Evans October 2nd, 2014 @ 04:21 AM

    I'm also using an app-specific password with Google Apps (for business). It's been working without problems, and I try to keep up with the latest dev releases.

  • benny

    benny October 2nd, 2014 @ 07:02 AM

    @Evans: Thanks for the data point. It is not impossible that users see different behavior, because apparently Google has introduced a system for regular accounts where the default settings depend on whether or not the user accesses an account via IMAP within 30 days of creating the account. Maybe something similar is true for Google Apps.

  • benny

    benny October 22nd, 2014 @ 01:48 PM

    A first attempt to support OAuth 2.0 for Gmail is part of the latest test release: Hold down ⌥ when clicking “Check Now” in the Software Update preferences pane. See the release notes for instructions on how to enable this feature.

  • Daniel Cullen

    Daniel Cullen January 14th, 2015 @ 02:11 PM

    I may have found a workaround for this issue. I have two gmail accounts set-up and I noticed that the SMTP app-specific password failure only occurred on one of them. When I compared account set-ups the working account had smtp.gmail.com as the SMTP server, while the failing account had smtp.googlemail.com. I changed the SMTP server to smtp.gmail.com for both accounts and I haven't had a problem in ~24 hours (the problem was happening every two or three hours before the change).

  • benny

    benny November 26th, 2015 @ 11:26 AM

    • State changed from “accepted” to “fixcommitted”

    As you might know, OAuth2 support is going to be part of the next public release.

  • benny

    benny November 26th, 2015 @ 02:33 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