help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Configuring emacs smtp for yahoo


From: thomasaaron
Subject: Configuring emacs smtp for yahoo
Date: Tue, 5 Dec 2006 08:27:00 -0800 (PST)

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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]