unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Configuring emacs smtp for yahoo
@ 2006-12-05 16:27 thomasaaron
  0 siblings, 0 replies; only message in thread
From: thomasaaron @ 2006-12-05 16:27 UTC (permalink / raw)



I'm trying to configure emacs to send mail through my yahoo smtp account.
I've got the yahoo pop connection working fine, but the smtp won't authorize
the connection.
I've googled and wiki-ed the crap out of it, and this is what I've managed
thus far in my .emacs file.
I'm using ubuntu linux, by the way.

Any ideas?
Thanks in advance for your help.
Best,
Tom Aaron

(autoload 'vm "vm" "Start VM on your primary inbox." t)
(autoload 'vm-other-frame "vm" "Like `vm' but starts in another frame." t)
(autoload 'vm-visit-folder "vm" "Start VM on an arbitrary folder." t)
(autoload 'vm-visit-virtual-folder "vm" "Visit a VM virtual folder." t)
(autoload 'vm-mode "vm" "Run VM major mode on a buffer" t)
(autoload 'vm-mail "vm" "Send a mail message using VM." t)
(autoload 'vm-submit-bug-report "vm" "Send a bug report about VM." t)


(setq user-full-name "Thomas Aaron"
           mail-from-style 'angles
           user-mail-address "copy@tbaaron.com"
           mail-default-reply-to "copy@tbaaron.com")    
(setq vm-mutable-windows t
           vm-mutable-frames nil)
(setq vm-pop-folder-alist
      '(
        ("pop:pop.mail.yahoo.com:110:pass:MY_USERNAME:MY_PASSWORD" "work")
      ))


;; Use W3M to read HTML email
(require 'w3m-load)
(setq vm-mime-use-w3-for-text/html nil)
(setq vm-url-browser 'w3m)
(load "w3m")
(setq w3m-input-coding-system 'utf-8
      w3m-output-coding-system 'utf-8)


(setq send-mail-function 'smtpmail-send-it) ; if you use `mail'
(setq message-send-mail-function 'smtpmail-send-it) ; if you use
message/Gnus
(setq smtpmail-default-smtp-server "smtp.mail.yahoo.com") ; set before
loading library
(setq smtpmail-local-domain "smtp.mail.yahoo.com")
(setq smtpmail-sendto-domain "smtp.mail.yahoo.com")
(setq smtpmail-debug-info t) ; only to debug problems
(setq smtpmail-auth-credentials  ; or use ~/.authinfo
          '(("smtp.mail.yahoo.com" 25 "MY_USERNAME" "MY_PASSWORD")))


(load-library "smtpmail")

-- 
View this message in context: http://www.nabble.com/Configuring-emacs-smtp-for-yahoo-tf2762702.html#a7702656
Sent from the Emacs - Help mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-12-05 16:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-05 16:27 Configuring emacs smtp for yahoo thomasaaron

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