.. -*- coding: utf-8; -*-======= Mail.=======.. contents:: :local:Message headers fields.=======================:: from = "From:" mailbox-list CRLF sender = "Sender:" mailbox CRLF reply-to = "Reply-To:" address-list CRLF to = "To:" address-list CRLF cc = "Cc:" address-list CRLF bcc = "Bcc:" (address-list / [CFWS]) CRLF newsgroupshttp://tools.ietf.org/rfc//rfc2076.txt Common Internet Message Headers, Informationalhttp://tools.ietf.org/rfc/rfc2822.txt Internet Message Format, Standard Trackhttp://tools.ietf.org/rfc/rfc2821.txt Simple Mail Transfer Protocol, Standard TrackSending mail with ssmtp.========================:: $ cat /etc/ssmtp/ssmtp.conf Mailhub=smtp.gmail.com:587 FromLineOverride=YES UseSTARTTLS=yes AuthUser=gavenkoa AuthPass=XXXXXXSending email via gmail in emacs.=================================:: ; install starttls from here (no need for patch) ; http://josefsson.org/emacs-smtp-starttls.html (setq send-mail-function 'smtpmail-send-it message-send-mail-function 'smtpmail-send-it smtpmail-starttls-credentials '(("smtp.gmail.com" 587 nil nil)) smtpmail-auth-credentials (expand-file-name "~/.authinfo") smtpmail-default-smtp-server "smtp.gmail.com" smtpmail-smtp-server "smtp.gmail.com" smtpmail-smtp-service 587 smtpmail-debug-info t starttls-extra-arguments nil smtpmail-warn-about-unknown-extensions t starttls-use-gnutls nil)Update ``~/..authinfo``:: machine smtp.gmail.com login [your name]@gmail.com password [your password]And finally download, unzip, make and install startttls:: http://josefsson.org/emacs-smtp-starttls.htmlhttps://support.google.com/a/answer/33915 Configuring Your MX Records: Other domain hosts.* http://justinsboringpage.blogspot.com/2009/02/sending-email-via-gmail-in-emacs.html* http://obfuscatedcode.wordpress.com/2007/04/26/configuring-emacs-for-gmails-smtpMail etiquette.===============Bottom vs. top quoting.-----------------------Just not use top quoting!Stallman warn about Google.---------------------------* http://www.mail-archive.com/gnu-emacs-sources@gnu.org/msg00302.htmlStorage format for email.=========================mbox.-----http://tools.ietf.org/html/rfc4155 The application/mbox Media Type (Category: Informational)http://en.wikipedia.org/wiki/Mbox Mbox at Wikipedia.maildir.--------* http://en.wikipedia.org/wiki/MaildirMH mailbox format.------------------* http://en.wikipedia.org/wiki/MH_Message_Handling_System