Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Gnus and Gmail
@ 2006-11-24 17:18 Angelina Carlton
  2006-11-24 17:51 ` Brep
  0 siblings, 1 reply; 17+ messages in thread
From: Angelina Carlton @ 2006-11-24 17:18 UTC (permalink / raw)


Hello,
I would like to send and receive all my gmail without having to use a
webrowser and to use Gnus instead.

I have configured fetchmail to receive my gmail and drop it in my mail
spool and Gnus can read this without a problem.

The only problem now is sending from the gmail account.
First I need to make it appear that I am using the gmail account when
replying to mail originating from gmail.

As I understand it, I can use a posting-style for this? Does this look
correct?

,----
| (setq gnus-posting-styles
|    '((".*"
|       (name "Angelina Carlton")
|       (address "debian@magma.ca")
|       (signature-file "/home/orchid/.signature"))
|      ("^nnml.*gmail"
|       (name "bzgirl")
|       (address "bzgirl@gmail.com")
|       (signature-file "/home/orchid/.signature.bzgirl"))))
`----

The next step is much harder for me to figure out, I found a guide on
the internet (http://www.pvv.ntnu.no/~terjeros/wiki/GnusGmail) and use this:

,----
| ;; gmail
| (defun fs-change-smtp ()
|   "Change the SMTP server according to the current from line."
|   (save-excursion
|     (let ((from
|            (save-restriction
|              (message-narrow-to-headers)
|              (message-fetch-field "from"))))
|       (message "From is `%s', setting `smtpmail-smtp-server' to `%s'"
|                from
|                (cond
|                 ((string-match "bzgirl@gmail.com" from)
|                   ;; Use stmp-auth
|                   (message "Using smtp-auth")
|                    ;; Sending mail
|                    (setq message-send-mail-function 'smtpmail-send-it)
|                     (setq smtpmail-starttls-credentials '(("smtp.gmail.com" 465 nil nil)))
|                      (setq smtpmail-auth-credentials '(("smtp.gmail.com" 465 "bzgirl@gmail.com" "PASSWORD)")))
|                       (setq smtpmail-default-smtp-server "smtp.gmail.com")
|                        (setq smtpmail-smtp-server "smtp.gmail.com")
|                         (setq smtpmail-smtp-service 465))
|                 ((string-match "bzgirl@example.org" from)
|                   ;; Use local sendmail
|                   (message "Using local sendmail")
|                    (setq message-send-mail-function `message-send-mail-with-sendmail))
|                 (t
|                   (error 
|                      (concat "Don't know which mail server to use for "
|                                from)))))))
|     (add-hook 'message-setup-hook 'fs-change-smtp)
`----

I think the posting style works (haven't been able to send a test mail to
check) because the headers look right, but when I issue C-c C-c gnus
then hangs with the message "Sending Mail..." in the mini-buffer.


-- 
-----Angelina Carlton-----
orchid on irc.freenode.net
     debian@magma.ca
    http://bzgirl.org
--------------------------

^ permalink raw reply	[flat|nested] 17+ messages in thread
[parent not found: <mailman.2141.1235931707.31690.info-gnus-english@gnu.org>]
* Gnus and Gmail
@ 2009-03-01 18:21 Byung-Hee HWANG
  0 siblings, 0 replies; 17+ messages in thread
From: Byung-Hee HWANG @ 2009-03-01 18:21 UTC (permalink / raw)
  To: info-gnus-english

Hello i'm newbie for Gnus. Does people use Gmail(imap) on Gnus? If it is 
possible, how can i use Gmail? FYI, i use another host for sending mail. 
So i need only imap setting for now.

byunghee

^ permalink raw reply	[flat|nested] 17+ messages in thread
* Gnus and Gmail
@ 2006-12-03 12:08 Guillaume
  2006-12-03 15:39 ` Leo
  0 siblings, 1 reply; 17+ messages in thread
From: Guillaume @ 2006-12-03 12:08 UTC (permalink / raw)



Hi,

I'm a new gnus user and have some problems with Gmail...
I can't get my mail from my Gmail box using Gnus. I don't want to use neither 
fetchmail nor procmail  but just Gnus. 
Thanks for your help.

^ permalink raw reply	[flat|nested] 17+ messages in thread
* gnus and gmail
@ 2006-01-15  9:52 lucius
  0 siblings, 0 replies; 17+ messages in thread
From: lucius @ 2006-01-15  9:52 UTC (permalink / raw)


Hi all!
I'd like to know whether someone knows about a way to read gmail 
mails without using pop. I'm looking for something which lets you 
browse your email account as it was on an imap server.
I think it would be possible to have an el file which browses 
the html interface of gmail, 
or use the gmail api.
Any ideas?
Thanks
Giorgio Luciani 


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2009-03-09 10:48 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-24 17:18 Gnus and Gmail Angelina Carlton
2006-11-24 17:51 ` Brep
2006-11-24 19:20   ` Angelina Carlton
2006-11-24 19:31     ` Brep
2006-11-24 19:40     ` Brep
2006-11-24 19:46     ` Leo
2006-11-25 13:58     ` Hadron Quark
2006-11-25 16:40     ` Shanks N
     [not found]     ` <mailman.1102.1164473065.2155.info-gnus-english@gnu.org>
2006-11-27  1:26       ` Angelina Carlton
     [not found] <mailman.2141.1235931707.31690.info-gnus-english@gnu.org>
2009-03-01 18:34 ` Andrzej Adam Filip
2009-03-01 18:44   ` Byung-Hee HWANG
2009-03-09  6:37 ` parmenides
2009-03-09 10:48   ` Richard Riley
  -- strict thread matches above, loose matches on Subject: below --
2009-03-01 18:21 Byung-Hee HWANG
2006-12-03 12:08 Guillaume
2006-12-03 15:39 ` Leo
2006-01-15  9:52 gnus and gmail lucius

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).