problem in setting up notify (bitbucket), smtp server
Arnel Legaspi
jalespring at gmail.com
Sun May 28 01:11:12 UTC 2017
On Tue, 23 May 2017 09:39:50 -0700, Dave S wrote:
> On May 23, 2017 9:06 AM, "Uwe Brauer" <oub at mat.ucm.es> wrote:
[snipped]
> So this looks good and I set
> test to False
>
> I receive
>
> warning: connecting to smtp.gmail.com using legacy security technology
> (TLS 1.0); see https://mercurial-scm.org/wiki/SecureConnections for more
> info
>
> password:
>
> error: outgoing.notify hook failed: (535, '5.7.8 Username and Password
> not accepted. Learn more at\n5.7.8
> https://support.google.com/mail/?p=BadCredentials n49sm1731615wrn.30 -
> gsmtp')
>
> That is absurd I am sure it is my password, and username and the
> setting I have tested in thunderbird
>
> W«hen I use
> host «= localhost
>
> No message is sent.
>
> What do I miss and how can I debug this, a part from setting test to
> true, which is not helpful for the smtp sending stuff.
>
>
> Thanks
>
> Uwe Brauer
>
>
> Isn't it that Google Mail requires either that you handle two-factor
> authentication or set your account to accept the app as less secure? I've
> seen this discussed on server framework lists.
>
> / dps
If you have 2-factor authentication turned on, you use "app
passwords" (https://support.google.com/mail/answer/185833).
If you don't, that's where the "Allow less secure apps" setting comes in
(https://www.google.com/settings/security/lesssecureapps).
More information about the Mercurial
mailing list