author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Sun, 26 Sep 2010 16:52:43 +0300 | |
changeset 563 | 405f99f70163 |
parent 407 | 3c53d1935aea |
child 735 | 5c437e2d5fe1 |
permissions | -rw-r--r-- |
96 | 1 |
-*- outline -*- |
2 |
||
321
65df6631693d
Message headers fields.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
259
diff
changeset
|
3 |
* Message headers fields. |
65df6631693d
Message headers fields.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
259
diff
changeset
|
4 |
|
328
30db419c25c5
Message headers fields.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
321
diff
changeset
|
5 |
from = "From:" mailbox-list CRLF |
30db419c25c5
Message headers fields.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
321
diff
changeset
|
6 |
sender = "Sender:" mailbox CRLF |
30db419c25c5
Message headers fields.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
321
diff
changeset
|
7 |
reply-to = "Reply-To:" address-list CRLF |
30db419c25c5
Message headers fields.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
321
diff
changeset
|
8 |
|
30db419c25c5
Message headers fields.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
321
diff
changeset
|
9 |
to = "To:" address-list CRLF |
30db419c25c5
Message headers fields.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
321
diff
changeset
|
10 |
cc = "Cc:" address-list CRLF |
30db419c25c5
Message headers fields.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
321
diff
changeset
|
11 |
bcc = "Bcc:" (address-list / [CFWS]) CRLF |
329
b7d2bd61172b
Added newsgroups field.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
328
diff
changeset
|
12 |
newsgroups |
328
30db419c25c5
Message headers fields.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
321
diff
changeset
|
13 |
|
30db419c25c5
Message headers fields.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
321
diff
changeset
|
14 |
http://tools.ietf.org/rfc//rfc2076.txt |
30db419c25c5
Message headers fields.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
321
diff
changeset
|
15 |
Common Internet Message Headers, Informational |
321
65df6631693d
Message headers fields.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
259
diff
changeset
|
16 |
http://tools.ietf.org/rfc/rfc2822.txt |
328
30db419c25c5
Message headers fields.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
321
diff
changeset
|
17 |
Internet Message Format, Standard Track |
321
65df6631693d
Message headers fields.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
259
diff
changeset
|
18 |
http://tools.ietf.org/rfc/rfc2821.txt |
328
30db419c25c5
Message headers fields.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
321
diff
changeset
|
19 |
Simple Mail Transfer Protocol, Standard Track |
321
65df6631693d
Message headers fields.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
259
diff
changeset
|
20 |
|
96 | 21 |
* Sending email via gmail in emacs. |
22 |
||
23 |
; install starttls from here (no need for patch) |
|
24 |
; http://josefsson.org/emacs-smtp-starttls.html |
|
25 |
||
26 |
(setq send-mail-function 'smtpmail-send-it |
|
27 |
message-send-mail-function 'smtpmail-send-it |
|
28 |
smtpmail-starttls-credentials |
|
29 |
'(("smtp.gmail.com" 587 nil nil)) |
|
30 |
smtpmail-auth-credentials |
|
31 |
(expand-file-name "~/.authinfo") |
|
32 |
smtpmail-default-smtp-server "smtp.gmail.com" |
|
33 |
smtpmail-smtp-server "smtp.gmail.com" |
|
34 |
smtpmail-smtp-service 587 |
|
35 |
smtpmail-debug-info t |
|
36 |
starttls-extra-arguments nil |
|
37 |
smtpmail-warn-about-unknown-extensions t |
|
38 |
starttls-use-gnutls nil) |
|
39 |
||
40 |
machine smtp.gmail.com login [your name]@gmail.com password [your password] |
|
41 |
||
42 |
And finally download, unzip, make and install startttls: |
|
43 |
||
44 |
http://josefsson.org/emacs-smtp-starttls.html |
|
45 |
||
46 |
See |
|
47 |
||
48 |
http://justinsboringpage.blogspot.com/2009/02/sending-email-via-gmail-in-emacs.html |
|
49 |
http://obfuscatedcode.wordpress.com/2007/04/26/configuring-emacs-for-gmails-smtp |
|
259 | 50 |
|
51 |
* Mail etiquette. |
|
52 |
||
53 |
** Bottom vs. top quoting. |
|
54 |
||
55 |
Just not use top quoting! |
|
56 |
||
57 |
** Stallman warn about Google. |
|
58 |
||
407
3c53d1935aea
Added storage format for email.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
329
diff
changeset
|
59 |
http://www.mail-archive.com/gnu-emacs-sources@gnu.org/msg00302.html |
3c53d1935aea
Added storage format for email.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
329
diff
changeset
|
60 |
|
3c53d1935aea
Added storage format for email.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
329
diff
changeset
|
61 |
* Storage format for email. |
3c53d1935aea
Added storage format for email.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
329
diff
changeset
|
62 |
|
3c53d1935aea
Added storage format for email.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
329
diff
changeset
|
63 |
** mbox. |
3c53d1935aea
Added storage format for email.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
329
diff
changeset
|
64 |
|
3c53d1935aea
Added storage format for email.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
329
diff
changeset
|
65 |
http://tools.ietf.org/html/rfc4155 |
3c53d1935aea
Added storage format for email.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
329
diff
changeset
|
66 |
The application/mbox Media Type (Category: Informational) |
3c53d1935aea
Added storage format for email.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
329
diff
changeset
|
67 |
http://en.wikipedia.org/wiki/Mbox |
3c53d1935aea
Added storage format for email.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
329
diff
changeset
|
68 |
|
3c53d1935aea
Added storage format for email.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
329
diff
changeset
|
69 |
** maildir. |
3c53d1935aea
Added storage format for email.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
329
diff
changeset
|
70 |
|
3c53d1935aea
Added storage format for email.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
329
diff
changeset
|
71 |
http://en.wikipedia.org/wiki/Maildir |
3c53d1935aea
Added storage format for email.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
329
diff
changeset
|
72 |
|
3c53d1935aea
Added storage format for email.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
329
diff
changeset
|
73 |
** MH mailbox format. |
3c53d1935aea
Added storage format for email.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
329
diff
changeset
|
74 |
|
3c53d1935aea
Added storage format for email.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
329
diff
changeset
|
75 |
http://en.wikipedia.org/wiki/MH_Message_Handling_System |
3c53d1935aea
Added storage format for email.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
329
diff
changeset
|
76 |