From: Sebastian Tennant <sebyte@smolny.plus.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Gnus and Gmail
Date: Mon, 03 Mar 2008 11:58:24 +0200 [thread overview]
Message-ID: <87r6esxh6n.fsf@moley.moleskin.org> (raw)
In-Reply-To: a2b3004b0803030024t23ddf598j26157ad62bd821b@mail.gmail.com
Quoth "Lorenzo Isella" <lorenzo.isella@gmail.com>:
> what is the gnus-init file? Is it another name for gnus.el?
Yes it is.
> I wonder it the following would be easier: could somone who is using
> gnus+gmail on Debian post me his configuration files?
I use smtpmail.el, not msmtp. This works for me.
N.B.
1. the 'gnutls-cli' program is a separate program entirely, included in
the Debian package; gnutls-bin.
2. this code only deals with SENDING and it lives in my ~/.emacs, not
my ~/.gnus. It's possible to send mail (using the function
(message-mail)) without loading gnus.
3. hope this helps. don't give up. it's worth it in the end.
(setq ;; use Gnus' message mode instead of plain Mail mode
mail-user-agent 'message-user-agent
;;
message-send-mail-function 'smtpmail-send-it
;; display all headers (not just To: and Subject:)
message-generate-headers-first t
;; nil to disable alias expansion (aliae found in ~/.mailrc)
message-mail-alias-type 'abbrev
;; smtpmail
starttls-gnutls-program "gnutls-cli"
;; CHANGE SMTP SERVER HERE
smtpmail-smtp-server "smtp.gmail.com"
smtpmail-default-smtp-server "smtp.gmail.com"
;; you only need one of these, but I'm not sure which
smtpmail-auth-credentials '(("smtp.gmail.com" 587 "foo@bar.baz" "password"))
smtpmail-starttls-credentials '(("smtp.gmail.com" 587 "foo@bar.baz" "password"))
;; Gmail uses port 587 for accepting mail submissions
smtpmail-smtp-service 587
;; if t, use smptmail-send-queued-mail to send
smtpmail-queue-mail nil
smtpmail-debug-info t)
Sebastian
next prev parent reply other threads:[~2008-03-03 9:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <47cadb2c.1bb87e0a.0dab.ffffb7bbSMTPIN_ADDED@mx.google.com>
[not found] ` <47CB2FCB.3020003@gmail.com>
2008-03-03 8:24 ` Gnus and Gmail Lorenzo Isella
2008-03-03 9:58 ` Sebastian Tennant [this message]
2008-03-02 9:15 Don Saklad
2008-03-02 9:56 ` Bastien
-- strict thread matches above, loose matches on Subject: below --
2008-03-01 17:01 Lorenzo Isella
2008-03-02 6:13 ` Vyazovoi Pavel
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r6esxh6n.fsf@moley.moleskin.org \
--to=sebyte@smolny.plus.com \
--cc=help-gnu-emacs@gnu.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 read-only IMAP folder(s) and NNTP newsgroup(s).