Look for multiple gmail accounts on the dev list, the topic has been
discussed exhaustively.

In short, "smtp.gmail.com" is the server name as relevant for gnus,
that'll be the same for both accounts, but you use distinct login
credentials, and auth-info can differentiate between user names. So just
follow the wiki (http://www.emacswiki.org/emacs/MultipleSMTPAccounts)
and use something like this:

.gnus.el:
#+begin_src emacs-lisp
(setq smtp-accounts '((ssl "[email protected]" "smtp.gmail.com" "587"
                           "[email protected] nil)
                      (ssl "[email protected]" "smtp.gmail.com" "587"
                           "[email protected] nil)))
#+end_src

.authinfo.gpg:
#+begin_src text
machine "smtp.gmail.com" login "[email protected]" port "587" password "pw_1"
machine "smtp.gmail.com" login "[email protected]" port "587" password "pw_2"
#+end_src

-- 
Philipp Haselwarter


_______________________________________________
info-gnus-english mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to