Gnus development mailing list
 help / color / mirror / Atom feed
From: Richard Riley <rileyrg@gmail.com>
To: ding@gnus.org
Subject: gnus smtp and gmail app specific permissions
Date: Fri, 20 Jan 2012 10:35:21 +0000	[thread overview]
Message-ID: <mn1uquwtjq.fsf@news.eternal-september.org> (raw)


Any of you have a solution that works with smtpmail sending that sets up
an app specific password for gmails smtp server?

I have a setup using the multismtp selection from here:

http://www.emacswiki.org/emacs/MultipleSMTPAccounts

with the difference I set up my smtp accounts thus:-


,----
|  (setq smtp-accounts '(
|                        (ssl "rileyrg" "smtp.gmail.com" "587"
|                             "(nth 0 (auth-source-user-and-password \"rileysmtp\"))" "(nth 1 (auth-source-user-and-password \"rileysmtp\"))" nil)
|                        (ssl "shamrock" "smtp.gmail.com" "587"
|                             "(nth 0 (auth-source-user-and-password \"shamrock\"))" "(nth 1 (auth-source-user-and-password \"shamrock\"))" nil)
|  ))
`----

and then eval the user and password in the  set-smtp-ssl function. But
I'm confused because apparently smtpmail-auth-credentials isnt used for
ssl, so why is it set in that function?

Ideally a simple working sample of setting smtpmails "authentication"
variables in elisp would do.




             reply	other threads:[~2012-01-20 10:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-20 10:35 Richard Riley [this message]
2012-01-20 12:34 ` Richard Riley
2012-01-21 15:10   ` Richard Riley
2012-01-21 20:34     ` Leonidas Tsampros
2012-01-30 12:24       ` Richard Riley
2012-01-31  6:51       ` Richard Riley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=mn1uquwtjq.fsf@news.eternal-september.org \
    --to=rileyrg@gmail.com \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).