At 23:58 -0300 on Tuesday 2014-03-11, Steven Arntson wrote: > I'm a beginning user of gnus, trying to use it to send emails, with the > command "m." I compose, and then send with C-c C-c, and it looks like > it's working, but then the system hangs and times out.
I'm a beginning user of Gnus too, but I do have a couple of ideas about what might be wrong with your set up. > ;; My Gnus init > > (setq gnus-select-method '(nntp "news.gwene.org")) > (add-to-list 'gnus-secondary-select-methods '(nnml "")) > (add-to-list 'gnus-secondary-select-methods > '(nnmbox "" > (nnmbox-mbox-file "~/MAIL") > (nnmbox-active-file "~/Mail.active"))) > (setq mail-sources '((pop :server "my.usual-server.com" :user > "[email protected]"))) > > (setq send-mail-function 'smtpmail-send-it) > (setq message-send-mail-function 'smtpmail-send-it) > (setq smtpmail-default-smtp-server "my.usual-server.com") ; needs to be > specified before the (require) > (require 'smtpmail) > (setq smtpmail-local-domain "mydomain.com") > (setq smtpmail-sendto-domain "mydomain.com") > (setq user-full-name "My Name") > (setq user-mail-address (concat "me@" smtpmail-local-domain)) > (setq smtpmail-debug-info t) ; only to debug problems I don't see you telling smtpmail which user account to log in with. Also, if the SMTP server is on a port other than 25, then I think you have to specify that too. On the other hand, maybe it can get that information from your .authinfo file -- I still haven't figured that out. My password is certainly being retreived from my .authinfo file, so I don't really see why everything can't be retrieved from there at the same time! FWIw, I have this: (setq message-send-mail-function 'smtpmail-send-it smtpmail-smtp-server "smtp.gmail.com" smtpmail-default-smtp-server "smtp.gmail.com" smtpmail-smtp-service 587 ; TCP Port. smtpmail-starttls-credentials '(("smtp.gmail.com" 587 nil nil)) smtpmail-auth-credentials '(("smtp.gmail.com" 587 "[email protected]" nil)) ) I don't seem to need a (require 'sendmail). For the TLS, I have this: (setq starttls-use-gnutls t starttls-gnutls-program "gnutls-cli" ) I hope some of this helps! N. _______________________________________________ info-gnus-english mailing list [email protected] https://lists.gnu.org/mailman/listinfo/info-gnus-english
