author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Wed, 17 Mar 2010 15:24:36 +0200 | |
changeset 347 | 8ae88e9dd05d |
parent 329 | b7d2bd61172b |
child 407 | 3c53d1935aea |
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 |
||
59 |
http://www.mail-archive.com/gnu-emacs-sources@gnu.org/msg00302.html |