Linux tip, Fedora tip / howto: using RMAIL to send SMTP mail

 
Note that these tips are mostly outdated


back to notes and tips index

Try my online puzzle page with Calcudoku, Killer Sudoku and online Sudoku.

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


← back to notes and tips index
Please do not copy the text of this tip (© Patrick Min) to your web site.