Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8c77619

Browse files
author
Ryan Neufeld
committed
Merge pull request clojure-cookbook#377 from liwp/master
Not about Gmail 2-factor auth when sending email
2 parents 31f5f24 + 424e3c0 commit 8c77619

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

.license-assignments/liwp.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
By placing this file I hereby grant you (O’Reilly Media, Inc), and your
2+
successors, assigns, and sublicensees, a non-exclusive license to
3+
copy, reproduce, print, publish, distribute, translate, and otherwise
4+
use all work, code, or works of authorship produced and contributed to
5+
this project in all versions and editions of the Work, and in any
6+
works based on or incorporating the Work, in any and all media, in
7+
perpetuity and throughout the world.

05_network-io/5-05_sending-email.asciidoc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,15 @@ yourself via a Gmail account:
4646
If all is well, you should receive an email from yourself shortly
4747
thereafter.
4848

49+
[NOTE]
50+
====
51+
If you've set up two-factor authentication on your Gmail account, the +send-message+ call will
52+
fail with an +AuthenticationFailedException+. You can create an application-specific password
53+
here: https://accounts.google.com/b/0/IssuedAuthSubTokens?hide_authsub=1, and use that as the
54+
value for +pass+ instead.
55+
====
56+
57+
4958
==== Discussion
5059

5160
pass:[<?dbhtml orphans="4"?>]With the venerable JavaMail at its core, there isn't much +postal+

0 commit comments

Comments
 (0)