|
1 .. -*- coding: utf-8; -*- |
|
2 |
|
3 ======= |
|
4 Mail. |
|
5 ======= |
|
6 |
|
7 Message headers fields. |
|
8 ======================= |
|
9 :: |
|
10 |
|
11 from = "From:" mailbox-list CRLF |
|
12 sender = "Sender:" mailbox CRLF |
|
13 reply-to = "Reply-To:" address-list CRLF |
|
14 |
|
15 to = "To:" address-list CRLF |
|
16 cc = "Cc:" address-list CRLF |
|
17 bcc = "Bcc:" (address-list / [CFWS]) CRLF |
|
18 newsgroups |
|
19 |
|
20 http://tools.ietf.org/rfc//rfc2076.txt |
|
21 Common Internet Message Headers, Informational |
|
22 http://tools.ietf.org/rfc/rfc2822.txt |
|
23 Internet Message Format, Standard Track |
|
24 http://tools.ietf.org/rfc/rfc2821.txt |
|
25 Simple Mail Transfer Protocol, Standard Track |
|
26 |
|
27 Sending mail with ssmtp. |
|
28 ======================== |
|
29 :: |
|
30 |
|
31 $ cat /etc/ssmtp/ssmtp.conf |
|
32 Mailhub=smtp.gmail.com:587 |
|
33 FromLineOverride=YES |
|
34 UseSTARTTLS=yes |
|
35 AuthUser=gavenkoa |
|
36 AuthPass=XXXXXX |
|
37 |
|
38 Sending email via gmail in emacs. |
|
39 ================================= |
|
40 :: |
|
41 |
|
42 ; install starttls from here (no need for patch) |
|
43 ; http://josefsson.org/emacs-smtp-starttls.html |
|
44 |
|
45 (setq send-mail-function 'smtpmail-send-it |
|
46 message-send-mail-function 'smtpmail-send-it |
|
47 smtpmail-starttls-credentials |
|
48 '(("smtp.gmail.com" 587 nil nil)) |
|
49 smtpmail-auth-credentials |
|
50 (expand-file-name "~/.authinfo") |
|
51 smtpmail-default-smtp-server "smtp.gmail.com" |
|
52 smtpmail-smtp-server "smtp.gmail.com" |
|
53 smtpmail-smtp-service 587 |
|
54 smtpmail-debug-info t |
|
55 starttls-extra-arguments nil |
|
56 smtpmail-warn-about-unknown-extensions t |
|
57 starttls-use-gnutls nil) |
|
58 |
|
59 Update ``~/..authinfo``:: |
|
60 |
|
61 machine smtp.gmail.com login [your name]@gmail.com password [your password] |
|
62 |
|
63 And finally download, unzip, make and install startttls:: |
|
64 |
|
65 http://josefsson.org/emacs-smtp-starttls.html |
|
66 |
|
67 * http://justinsboringpage.blogspot.com/2009/02/sending-email-via-gmail-in-emacs.html |
|
68 * http://obfuscatedcode.wordpress.com/2007/04/26/configuring-emacs-for-gmails-smtp |
|
69 |
|
70 Mail etiquette. |
|
71 =============== |
|
72 |
|
73 Bottom vs. top quoting. |
|
74 ----------------------- |
|
75 |
|
76 Just not use top quoting! |
|
77 |
|
78 Stallman warn about Google. |
|
79 --------------------------- |
|
80 |
|
81 http://www.mail-archive.com/gnu-emacs-sources@gnu.org/msg00302.html |
|
82 |
|
83 Storage format for email. |
|
84 ========================= |
|
85 |
|
86 mbox. |
|
87 ----- |
|
88 |
|
89 http://tools.ietf.org/html/rfc4155 |
|
90 The application/mbox Media Type (Category: Informational) |
|
91 http://en.wikipedia.org/wiki/Mbox |
|
92 |
|
93 maildir. |
|
94 -------- |
|
95 |
|
96 http://en.wikipedia.org/wiki/Maildir |
|
97 |
|
98 MH mailbox format. |
|
99 ------------------ |
|
100 |
|
101 http://en.wikipedia.org/wiki/MH_Message_Handling_System |
|
102 |