John D. Ament wrote on 6/9/17 8:37 PM:
> On Fri, Jun 9, 2017 at 9:49 AM Sam Ruby <ru...@intertwingly.net> wrote:
> 
>> On Fri, Jun 9, 2017 at 7:13 AM, John D. Ament <johndam...@apache.org>
>> wrote:
>>> I'm struggling with email a bit
>>>
>>> I've added the following to my ~/.whimsy, but still can't get mail to
>>> send.  Password is correct.
>>
>> It looks like you added @gmail.com to your user_name.  Here's what works
>> for me:
>>
>>
> I've tried with and without @gmail.com.  Neither works.
> 
> I do have MFA enabled though, does your account?

Doesn't 2FA mean you need to use an app-specific password?

https://support.google.com/mail/answer/185833?hl=en

Let me know if it works - although I still hate sticking a Google ID
password in plaintext.

(Not that my whimsy.local SVN works yet anyway... need to find time to
experiment with rebuilding the keychain)

- Shane

> 
> 
>>   user_name: sa3ruby
>>
>> - Sam Ruby
>>
>>> :sendmail:
>>>   delivery_method: smtp
>>>   address: smtp.gmail.com
>>>   port: 587
>>>   domain: apache.org
>>>   user_name: john.d.am...@gmail.com
>>>   password: ***
>>>   authentication: plain
>>>   enable_starttls_auto: true
>>>
>>> Date: Fri, 09 Jun 2017 07:08:43 -0400
>>> From: johnam...@apache.org
>>> To:  <>
>>> Message-ID: <593a81bb930d5_2b493fe22883f8842...@johns-mbp-2.home.mail>
>>> Subject: test mail
>>> Mime-Version: 1.0
>>> Content-Type: text/plain;
>>>  charset=UTF-8
>>> Content-Transfer-Encoding: 7bit
>>>
>>> sent from Johns-MBP-2.home
>>>
>>> /Users/johnament/.rbenv/versions/2.4.1/lib/ruby/2.4.0/net/smtp.rb:981:in
>>> `check_auth_response': 535-5.7.8 Username and Password not accepted.
>> Learn
>>> more at (Net::SMTPAuthenticationError)
>>> from
>>> /Users/johnament/.rbenv/versions/2.4.1/lib/ruby/2.4.0/net/smtp.rb:736:in
>>> `auth_plain'
>>> from
>>> /Users/johnament/.rbenv/versions/2.4.1/lib/ruby/2.4.0/net/smtp.rb:728:in
>>> `authenticate'
>>> from
>>> /Users/johnament/.rbenv/versions/2.4.1/lib/ruby/2.4.0/net/smtp.rb:565:in
>>> `do_start'
>>> from
>>> /Users/johnament/.rbenv/versions/2.4.1/lib/ruby/2.4.0/net/smtp.rb:518:in
>>> `start'
>>> from
>>>
>> /Users/johnament/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/mail-2.6.5/lib/mail/network/delivery_methods/smtp.rb:113:in
>>> `deliver!'
>>> from
>>>
>> /Users/johnament/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/mail-2.6.5/lib/mail/message.rb:253:in
>>> `deliver!'
>>> from whimsy/tools/testmail.rb:28:in `<main>'
>>
> 


-- 

- Shane
  https://www.apache.org/foundation/marks/resources

Reply via email to