using RMAIL to send SMTP mail
- add the following lines to your ~/.emacs
(setq user-full-name "Your name")
(setq user-mail-address "Your e-mail address")
(setq smtpmail-default-smtp-server "SMTP server name")
(setq smtpmail-local-domain nil)
(setq send-mail-function 'smtpmail-send-it)
(load-library "smtpmail")
using RMAIL to send SMTP mail via Google gmail
- add these lines to your ~/.emacs
(setq user-full-name "Your name")
(setq user-mail-address "Your e-mail address")
(setq message-send-mail-function 'smtpmail-send-it
smtpmail-starttls-credentials '(("smtp.gmail.com" 587 nil nil))
smtpmail-auth-credentials '(("smtp.gmail.com" 587 "your.address@gmail.com" "your password"))
smtpmail-default-smtp-server "smtp.gmail.com"
smtpmail-smtp-server "smtp.gmail.com"
smtpmail-smtp-service 587)
(setq smtpmail-local-domain nil)
(load-library "smtpmail")
Send me your comments!
Something didn't work as expected? You'd like to add some useful info to this tip? Use the form below to send me your comments. (Don't forget to fill out the super-lame CAPTCHA below..)