From e1767d5b6d5879219471628aaebaebf36c14c8a0 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Tue, 26 May 2015 15:35:03 -0400 Subject: emacs: Add work SMTP config. --- dotfiles/.emacs.d/init.el | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/dotfiles/.emacs.d/init.el b/dotfiles/.emacs.d/init.el index 41f509a..57f54ec 100644 --- a/dotfiles/.emacs.d/init.el +++ b/dotfiles/.emacs.d/init.el @@ -375,9 +375,12 @@ might be bad." smtpmail-smtp-service 587 smtpmail-stream-type 'starttls) -;; (setq smtpmail-smtp-server "smtp.gmail.com") -;; (setq smtpmail-smtp-service 465) -;; (setq smtpmail-stream-type 'ssl) +;; Work email +(when (equalp system-name "7VWJD42") + (setf send-mail-function 'smtpmail-send-it + smtpmail-smtp-server "EXCHANGE02.vhl.dom" + smtpmail-smtp-service 587 + smtpmail-stream-type 'starttls)) ;;; ;;; Calendar -- cgit v1.2.3