Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* a few questions about the initial setup of gnus
@ 2010-03-06  2:50 Martin
  2010-03-06 10:57 ` .Martin.
  0 siblings, 1 reply; 9+ messages in thread
From: Martin @ 2010-03-06  2:50 UTC (permalink / raw)
  To: info-gnus-english

1. what do I need to add to .emacs to send email from my gmail account.
At the moment, if I try to send something, it shouws my username and my
hostname in the From: field (instead of username and gmail.com
I've got my ~/.authinfo in place


that's the relevant bit of my .emacs


(setq gnus-select-method '(nntp "news.virginmedia.com"))
(setq gnus-secondary-select-method '(nnimap "gmail"
(nnimap-address "imap.gmail.com")
(nnimap-server-port 993)
(nnimap-stream ssl)))


(setq message-send-mail-function 'smtpmail-send-it
    smtpmail-starttls-credentials '(("smtp.gmail.com" 587 nil nil))
    smtpmail-auth-credentials '(("smtp.gmail.com" 587
"myusername@gmail.com" nil))
    smtpmail-default-smtp-server "smtp.gmail.com"
    smtpmail-smtp-server "smtp.gmail.com"
    smtpmail-smtp-service 587
    smtpmail-local-domain "yourcompany.com")




2. How can I subscribe to particular groups?
3. Can I remove the line about local-domain?

thank you very much in advance

-- 
regards

Martin

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

end of thread, other threads:[~2010-03-07 18:32 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-06  2:50 a few questions about the initial setup of gnus Martin
2010-03-06 10:57 ` .Martin.
2010-03-06 11:31   ` Adam Sjøgren
2010-03-06 13:01     ` .Martin.
2010-03-07 18:01       ` .Martin.
2010-03-07 18:08         ` Adam Sjøgren
2010-03-07 18:20           ` .Martin.
2010-03-07 18:23             ` Adam Sjøgren
2010-03-07 18:32               ` .Martin.

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